Skip to content

Releases: Andrew-M-C/go.jsonvalue

v1.4.3

Choose a tag to compare

@Andrew-M-C Andrew-M-C released this 26 Feb 07:01
6db6f0e

Release jsonvalue v1.4.3. Comparing to v1.4.2:

  • Add Walk method for depth-first traversal of all child values in JSON structure.
  • Add ExtractAll function to recursively unmarshal embedded JSON strings.
  • Add MarshalWrite function to serialize JSON value to io.Writer object.

Full Diff: v1.4.2...v1.4.3

中文

v1.4.2

Choose a tag to compare

@Andrew-M-C Andrew-M-C released this 26 Sep 01:29

Release jsonvalue v1.4.2. Comparing to v1.4.1:

  • Add Walk method for depth-first traversal of all child values in JSON structure.
  • Add ExtractAll function to recursively unmarshal embedded JSON strings.
  • Add MarshalWrite function to serialize JSON value to io.Writer object.

Full Diff: v1.4.1...v1.4.2

中文

v1.4.1

Choose a tag to compare

@Andrew-M-C Andrew-M-C released this 28 Oct 02:23

Release jsonvalue v1.4.1. Comparing to v1.4.0:

  • Add v.At(...).Set(...) pattern, allowing putting keys ahead (comparing to v.Set(...).At(...)).

Full Changelog: v1.4.0...v1.4.1

中文

v1.4.0

Choose a tag to compare

@Andrew-M-C Andrew-M-C released this 09 Aug 09:44

Release jsonvalue v1.4.0. Comparing to v1.3.8:

  • Use MIT license instead of BSD 3-Clause.
  • Allow passing parameter with a single slice or array for Get, Set, Append, Insert, Delete methods.
  • Add GreaterThan, LessThan, GreaterThanOrEqual, LessThanOrEqual methods for numeric comparation.

Full Changelog: v1.3.8...v1.4.0

中文

v1.3.8

Choose a tag to compare

@Andrew-M-C Andrew-M-C released this 08 May 02:07

Release jsonvalue v1.3.8. Comparing to v1.3.7:

  • Fix Issue #30

中文

v1.3.7

Choose a tag to compare

@Andrew-M-C Andrew-M-C released this 23 Mar 10:06

Release jsonvalue v1.3.7. Comparing to v1.3.6:

  • Fix Issue #29

中文

v1.3.6

Choose a tag to compare

@Andrew-M-C Andrew-M-C released this 28 Sep 09:09

Release jsonvalue v1.3.6. Comparing to v1.3.5:

  • Fix a floating sign bug
  • Fix Issue #27

中文

v1.3.5

Choose a tag to compare

@Andrew-M-C Andrew-M-C released this 01 Sep 14:45

Release jsonvalue v1.3.5. Comparing to v1.3.4:

v1.3.4

Choose a tag to compare

@Andrew-M-C Andrew-M-C released this 20 Jun 10:08

Release jsonvalue v1.3.4. Comparing to v1.3.3:

  • Type *jsonvalue.V now implements following interfaces thus it can used directly in encoding/json:
    • json.Marshaler、json.Unmarshaler
    • encoding.BinaryMarshaler、encoding.BinaryUnmarshaler
  • Supports importing data types those implement json.Marshaler or encoding.TextMarshaler interfaces, just like encoding/json does.
  • Add MustAdd, MustAppend, MustInsert, MustSet, MustDelete methods. These methods will not return sub-values or errors.
    • This will prevent golangci-lint warning of "return value is not used"
  • Bug fix: When invoking Append(xxx).InTheBeginning(), the sub-value was actually and faulty append to the end.
  • Pre-allocate some buffer and space when marshaling and unmarshaling. It will speed-up a little bit and save 40% alloc count by average.

中文

v1.3.3

Choose a tag to compare

@Andrew-M-C Andrew-M-C released this 02 Jan 02:32

Release jsonvalue v1.3.3. Comparing to v1.3.2:

中文