Skip to content

Releases: noear/snackjson

SnackJson v4.0.22

28 Dec 12:40

Choose a tag to compare

  • 添加 snack4-jsonschema 类型映射机制,支持 Future,Optional 等包装或传递类型
  • 添加 ONode:getByte 方法
  • 优化 反序列化自动移除 '@type' 属性申明
  • 优化 Iterable 支持(替代之前的 Collection)
  • 优化 与 ascii 不可见码(lt 32)的兼容处理
    • cluade llm,输出的 json 可能会有不可见码
  • 修复 options:zoneId 没有传导到 JsonWriter 的问题
  • 修复 空字符串(''')反序列化为枚举时会出错的问题
  • 修复 字符串反序列化为 byte 时会出错的问题

Snack4 v4.0.17

04 Dec 15:06

Choose a tag to compare

  • 优化 DateUtil
  • eggg 升为 1.0.10

SnackJson v4.0.14

19 Nov 04:07

Choose a tag to compare

  • 优化 snack4 空字符串的解码处理
  • 修复 List<? extend Xxx> 反序列化时泛型识别出错的问题
  • 修复 BigIntegerDecoder,BigDecimalDecoder 不能转数字的问题(4.0.13 出现的)
  • eggg 升为 1.0.8

Snack-Jsonpath v4.0.11

09 Nov 04:23

Choose a tag to compare

  • 添加 ONodeAttr 注解到类支持
  • 添加 _EnumPatternEncoder 支持 Write_EnumShapeAsObject 特性(可以把 Enum 转为 Json Object)
  • 优化 _EnumPatternDecoder 添加 ONodeCreator 表态方法
  • 修复 issue-ID5NQL parseKeyword 可能越界的问题
  • 移除 ONode:hasNestedJson 方法
  • eggg 升为 1.0.6

Snack-Jsonpath v4.0.7

05 Nov 00:32

Choose a tag to compare

  • Add TypeRef:listOf, setOf,mapOf methods
  • Add EgggUtil:getClassEggg method
  • Optimize ONode:setAll, addAll to allow null (snack3 compatible)
  • eggg increased to 1.0.3

Snack-Jsonpath v4.0.6

30 Oct 03:30

Choose a tag to compare

  • Changed Read_ConvertSnakeToCamel to Read_ConvertSnakeToSmlCamel
  • Changed the Write_UseSnakeStyle attribute to Write_UseSmlSnakeStyle
  • Add Read_ConvertCamelToSmlSnake feature
  • Add the Write_UseSmlCamelStyle attribute
  • eggg increased to 1.0.2

Snack-Jsonpath v4.0.2

20 Oct 05:48

Choose a tag to compare

  • Add Write_BigDecimalAsPlain attribute
  • Adjust ONode:nodeType,getType merged to 'type()' in the same style as' options() '
  • Changed QueryContext:isInFilter to 'isFiltered()'
  • Rename Write_BigNumbersAsString to Write_DoubleAsString
  • Improved effect compatibility with snack3

Snack-Jsonpath v4.0.1

17 Oct 06:03

Choose a tag to compare

Improved compatibility with v3 feature "soft". Feature comparison table: https://solon.noear.org/article/1184

Specific updates:

  • Added support for the ONodeCreator static method (plain class)
  • Added ONodeAttr:ignore annotation support
  • Added Write_BooleanAsNumber
  • Added Read_UseBigDecimalMode
  • Added Read_UseBigIntegerMode
  • add DecodeContext: hasFeature EncodeContext: hasFeature new features
  • Optimize Write_Nulls for better control over Map output
  • Optimize Write_BrowserCompatible write performance

Snack-Jsonpath v4.0.0

15 Oct 16:31

Choose a tag to compare

  1. Refactor the entire project (everything changed except the name)
  2. The new version has about 900 single tests, covering about 95%, which lasted less than half a year
  3. Supports the IETF JSONPath (RFC 9535) standard (the first Java framework to support it) and is compatible with jayway.jsonpath
  4. Add json-schema support

Snack v3.2.136

28 Jul 12:35

Choose a tag to compare

  • 恢复 ClassWrap.get(clz) 方法
  • 优化 DateUtil 的兼容性,兼容 2025-07-23 08:12:33.0