Json Iterator Go Versions Save

A high-performance 100% compatible drop-in replacement of "encoding/json"

v1.1.12

2 years ago

v1.1.11

3 years ago
  • Fixed json iter doesn't work properly with nil RawMessage #469
  • Fixed null in number json tag string (#480)
  • Fixed errors during reading integers from chunked io.Reader #477
  • Fixed nil pointer panic when Unmarshal with a empty file #508
  • Fixed [float string]different result vs origin after call Marshal & Unmarshal #510

v1.1.10

3 years ago
  • Fix #459 map keys of custom types should serialize using MarshalText when available
  • Fix potential panic in (*stringAny).ToInt64 and (*stringAny).ToUint64(see #450)
  • Fix #449 do NOT marshal the field whose name start with underscore
  • Reuse stream buffer and remove flush in (*Stream).WriteMore(see #441 #440)
  • Fix #421 simplify the error string returned by the decoder when it meets error unmarshaling anonymous structs
  • Fix #389 #411 do NOT marshal the json.RawMessage type field whose real type is integer/float as "null" with ValidateJsonRawMessage option enabled
  • Fix #326 do Not marshal private field after calling extra.SetNamingStrategy() to register naming strategy extension

v1.1.9

4 years ago

v1.1.8

4 years ago

1.1.8

4 years ago

v1.1.7

4 years ago

v1.1.6

5 years ago
  • fix #311 handle nil any
  • fix #313 support json marshaller type as map key
  • fix #308 do NOT skip embedded structs without tag when OnlyTaggedField
  • fix #317, try parse as BigFloat if overflow
  • Fix trailing newline

v1.1.5

5 years ago

1.1.5

5 years ago

fix #293 copy extensions fix #286 calcHash should use byte not rune to calc hash fix #291 omit empty was not handled properly for json raw message fix #295 decoder more was not compatible with standard library