Skip to content

bug fix

Compare
Choose a tag to compare
@AllenX2018 AllenX2018 released this 09 Jun 07:44
· 18 commits to master since this release
a1ca083
  • 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