Skip to content

Releases: Andrew-M-C/go.jsonvalue

v1.4.1

28 Oct 02:23
Compare
Choose a tag to compare

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

09 Aug 09:44
Compare
Choose a tag to compare

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

08 May 02:07
Compare
Choose a tag to compare

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

  • Fix Issue #30

中文

v1.3.7

23 Mar 10:06
Compare
Choose a tag to compare

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

  • Fix Issue #29

中文

v1.3.6

28 Sep 09:09
Compare
Choose a tag to compare

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

  • Fix a floating sign bug
  • Fix Issue #27

中文

v1.3.5

01 Sep 14:45
Compare
Choose a tag to compare

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

v1.3.4

20 Jun 10:08
Compare
Choose a tag to compare

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.Marshalerjson.Unmarshaler
    • encoding.BinaryMarshalerencoding.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

02 Jan 02:32
Compare
Choose a tag to compare

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

中文

v1.3.2

11 Oct 11:40
Compare
Choose a tag to compare

Release jsonvalue 1.3.2. Comparing to v1.3.1, #17 is fixed.

v1.3.1

20 Aug 16:12
Compare
Choose a tag to compare

Release jsonvalue 1.3.1. Comparing to v1.3.0:

  • It is available to get key sequences of an unmarshaled object JSON
  • Supporting marshal object by key sequence of when they are set.
  • All invisible ASCII characters will be escaped in \u00XX format.

Please refer to wiki.

中文