An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/ohler55/ojg

Package ojg is a collection of JSON tools including a validators, parsers, a full JSONPath implementation, data conversion utilities, and a simple type assembler. Most of the tools are designed for simple types although used in complex ways. Simple types in this context are data objects composed of these types. Package oj contains functions and types for parsing JSON as well as support for building simple types. Included in the oj package are: Package gen provides type safe generic types. They are type safe in that array and objects can only be constructed of other types in the package. The basic types are: The collection types are Array and Object. All the types implement the Node interface which is a relatively simple interface defined primarily to restrict what can be in the collection types. The Node interface should not be used to define new generic types. Also included in the package are a builder and parser that behave like the parser and builder in the oj package except for gen types. Package jp provides JSONPath implementation that operations on simple go types, generic (gen package), and public struct with public members. Get, set, and delete operations can be evaluated on data. When needed reflection is used to follow a path. The alt package contains functions and types for altering values. It includes functions for: The asm package provides a means of building JSON or the corresponding simple types based on a JSON script represented by the Plan type. The oj command is a general purpose tool for processing JSON documents. Features include reformatting JSON, colorizing JSON, extracting parts of a JSON document, and filtering. JSONPath is used for both extracting and filtering.

Ecosystem
proxy.golang.org
Latest Release
v1.28.1
about 2 months ago
Versions
107
Dependent Packages
127
Dependent Repos
164
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/ohler55/ojg
spec
License MIT
Namespace github.com/ohler55
First Release almost 6 years ago
Last Synced 1 day ago
Repository
Stars 916 on GitHub
Forks 52 on GitHub
Docker Dependents 134
Docker Downloads 361,244,898
Commits 349
Committers 9
Avg per Author 38.778
DDS 0.026
Rankings on proxy.golang.org
Overall Top 1.5%
Dependent packages Top 0.4%
Dependent repos Top 0.5%
Forks Top 3.6%
Docker downloads Top 0.4%