gabs - For parsing, creating and editing unknown or dynamic JSON in golang

  •        118

Gabs is a small utility for dealing with dynamic or unknown JSON structures in golang. It's pretty much just a helpful wrapper around the golang json.Marshal/json.Unmarshal behaviour and map[string]interface{} objects. It does nothing spectacular except for being fabulous.Children() will return all children of an array in order. This also works on objects, however, the children will be returned in a random order.

https://github.com/Jeffail/gabs

Tags
Implementation
License
Platform

   




Related Projects

simdjson - Parsing gigabytes of JSON per second

  •    C++

JSON documents are everywhere on the Internet. Servers spend a lot of time parsing these documents. We want to accelerate the parsing of JSON per se using commonly available SIMD instructions as much as possible while doing full validation (including character encoding). A description of the design and implementation of simdjson appears at https://arxiv.org/abs/1902.08318 and an informal blog post providing some background and context is at https://branchfree.org/2019/02/25/paper-parsing-gigabytes-of-json-per-second/.

Noggit - JSON streaming parser

  •    Java

Noggit is the world's fastest streaming JSON parser for Java. It is used in Apache Solr.

Freddy - A reusable framework for parsing JSON in Swift.

  •    Swift

Parsing JSON elegantly and safely can be hard, but Freddy is here to help. Freddy is a reusable framework for parsing JSON in Swift. It has three principal benefits. First, Freddy provides a type safe solution to parsing JSON in Swift. This means that the compiler helps you work with sending and receiving JSON in a way that helps to prevent runtime crashes.

Elevate - Elevate is a JSON parsing framework that leverages Swift to make parsing simple, reliable and composable

  •    Swift

Elevate is a JSON parsing framework that leverages Swift to make parsing simple, reliable and composable. Elevate should no longer be used for new feature development. We recommend using the Codable protocol provided by Apple in the Foundation framework in its place. We will continue to support and update Elevate for the foreseeable future.

yajl - Yet Another JSON Library - A Portable JSON parsing and serialization library in ANSI C

  •    C

Yet Another JSON Library - A Portable JSON parsing and serialization library in ANSI C


JSON - Micro framework for easily parsing JSON in Swift with rich error messages in less than 100 lines of code

  •    Swift

Micro framework for easily parsing JSON in Swift with rich error messages in less than 100 lines of code. There’s a specialized verion that returns a Date. You can supply your own functions for custom types if you wish.

VBA-JSON - JSON conversion and parsing for VBA

  •    VB

JSON conversion and parsing for VBA (Windows and Mac Excel, Access, and other Office applications). It grew out of the excellent project vba-json, with additions and improvements made to resolve bugs and improve performance (as part of VBA-Web). Tested in Windows Excel 2013 and Excel for Mac 2011, but should apply to 2007+.

qt-json - A simple class for parsing JSON data into a QVariant hierarchy and vice versa.

  •    C++

A simple class for parsing JSON data into a QVariant hierarchy and vice versa.

Argo - Functional JSON parsing library for Swift

  •    Swift

Argo is a library that lets you extract models from JSON or similar structures in a way that's concise, type-safe, and easy to extend. Using Argo, you won't need to write validation code to ensure that incoming data is of the right type, or to make sure required data fields aren't turning up empty. Argo uses Swift's expressive type system to do that for you, and reports back explicit failure states in case it doesn't find what you've told it to expect. Argo is the Greek word for swift and the name of the ship used by Jason, son of Aeson, of the Argonauts. Aeson is the JSON parsing library in Haskell that inspired Argo, much like Aeson inspired his son Jason.

crack - Really simple JSON and XML parsing, ripped from Merb and Rails.

  •    Ruby

Really simple JSON and XML parsing, ripped from Merb and Rails. The XML parser is ripped from Merb and the JSON parser is ripped from Rails. I take no credit, just packaged them for all to enjoy and easily use. Copyright (c) 2009 John Nunemaker. See LICENSE for details.

sandwich-club-starter-code - Android Nanodegree Sandwich Club starter code

  •    Java

In this project, you will complete the Sandwich Club app to show the details of each sandwich once it is selected. Building a layout and populating its fields from data received as JSON is a common task for Android Developers. Although JSON parsing is usually done using libraries, writing the JSON parsing for this project will help you to better understand how it is processed.

Gloss - A shiny JSON parsing library in Swift :sparkles:

  •    Swift

The Gloss source currently available via CocoaPods and Carthage is compatible with Swift 4.0. To use the lastest version compatible with Swift 3.0, utilize version 1.2.x.

LoganSquare - Screaming fast JSON parsing and serialization library for Android.

  •    Java

The fastest JSON parsing and serializing library available for Android. Based on Jackson's streaming API, LoganSquare is able to consistently outperform GSON and Jackson's Databind library by 400% or more1. By relying on compile-time annotation processing to generate code, you know that your JSON will parse and serialize faster than any other method available. By using this library, you'll be able to utilize the power of Jackson's streaming API without having to code tedius, low-level code involving JsonParsers or JsonGenerators. Instead, just annotate your model objects as a @JsonObject and your fields as @JsonFields and we'll do the heavy lifting for you.

jose-jwt - Ultimate Javascript Object Signing and Encryption (JOSE) and JSON Web Token (JWT) Implementation for

  •    CSharp

Minimallistic zero-dependency library for generating, decoding and encryption JSON Web Tokens. Supports full suite of JSON Web Algorithms as of July 4, 2014 version. JSON parsing agnostic, can plug any desired JSON processing library. Extensively tested for compatibility with jose.4.j, Nimbus-JOSE-JWT and json-jwt libraries.v2.1 and above added extra features support for .NET461+ and coming with 3 version of binaries (NET4, NET461 and netstandard1.4).

json11 - A tiny JSON library for C++11.

  •    C++

json11 is a tiny JSON library for C++11, providing JSON parsing and serialization.The core object provided by the library is json11::Json. A Json object represents any JSON value: null, bool, number (int or double), string (std::string), array (std::vector), or object (std::map).

jstream - Streaming JSON parser for Go

  •    Go

jstream is a streaming JSON parser and value extraction library for Go.

jsonstreamingparser - A JSON streaming parser implementation in PHP.

  •    PHP

This is a simple, streaming parser for processing large JSON documents. Use it for parsing very large JSON documents to avoid loading the entire thing into memory, which is how just about every other JSON parser for PHP works. For more details, I've written up a longer explanation of the JSON streaming parser that talks about pros and cons vs. the standard PHP JSON parser.

json-swift - A basic library for working with JSON in Swift.

  •    Swift

A practical JSON parsing library for Swift. It provides a fully typed and validated API surface for working with JSON, including the ability to base64 items with your JSON. All of the JSON APIs return back of Optional<T>. This allows for easier use for deep indexing. In addition, there is an Optional<JSValue> wrapper for all indexers and accessors which removes all of the ? jumping that is normally required.

atomic - Ajax/XHR module with chained success/error callbacks and JSON parsing, IE6+

  •    Javascript

Ajax/XHR module with chained success/error callbacks and JSON parsing, IE6+