ajson icon indicating copy to clipboard operation
ajson copied to clipboard

Abstract JSON for Golang with JSONPath support

Results 17 ajson issues
Sort by recently updated
recently updated
newest added

IETF [RFC 9535](https://www.rfc-editor.org/rfc/rfc9535) defines a proposed standard for JSONPath. Other resources: * A partial [Compliance Test Suite](https://github.com/jsonpath-standard/jsonpath-compliance-test-suite). * Behaviours of various implementations can be checked in the [comparison project](https://cburgmer.github.io/json-path-comparison/). Please...

Vitess uses this library for encoding/decoding data from JSON columns during replication of data. We have faced an issue with data consistency between our original database and data, which was...

Enable `gofmt` linter. It was removed due to the new format style described in https://github.com/golangci/golangci-lint/issues/3229 Documentation: https://tip.golang.org/doc/go1.19#go-doc

Hey. When I have something from above to query using ajson I need to marshal to binary and then unmarshal with ajson. Is any way to do that better? Thanks.

question

Currently there is no simple way to get Node position in the original text. There is a `borders` property, but it is private and can't be accessed without reflection. It...

I wanted to implement something like `split(str, ":")` but not sure how to do that. It seems all functions support only one argument.

enhancement
question

Marshaling of the same node returns a list of children nodes in a different order. Possibly because of the range over a map of children here: https://github.com/spyzhov/ajson/blob/master/encode.go#L66

enhancement