loin 发表于 2015-7-26 08:35:15

Jackson 2.6.0 发布,高性能的 JSON 处理

腾讯SNG夏日招聘集结号:200个空缺岗位,JAVA、C++、云计算、Android……
  Jackson 2.6.0 正式发布,此版本主要有以下更新:
  
  #137: Allow filtering content read via `JsonParser` by specifying `JsonPointer`;

  uses new>
  (and>  #177: Add a check so `JsonGenerator.writeString()` won't work if `writeFieldName()` expected.
  #182: Inconsistent TextBuffer#getTextBuffer behavior
  (contributed by Masaru H)
  #185: Allow filtering content written via `JsonGenerator` by specifying `JsonPointer`;

  uses new>
  (and>  #188: `JsonParser.getValueAsString()` should return field name for `JsonToken.FIELD_NAME`, not `null`
  #189: Add `JsonFactory.Feature.USE_THREAD_LOCAL_FOR_BUFFER_RECYCLING` (default: true), which may
  be disabled to prevent use of ThreadLocal-based buffer recyling.
  (suggested by soldierkam@github)
  #195: Add `JsonGenerator.getOutputBuffered()` to find out amount of content buffered,
  not yet flushed.
  (requested by Ruediger M)
  #196: Add support for `FormatFeature` extension, for format-specifc Enum-backed
  parser/generator options
  - Minor improvement to construction of "default PrettyPrinter": now overridable by data format
  modules
  - Implement a new yet more optimized symbol table for byte-backed parsers
  - Add `JsonParser.Feature.IGNORE_UNDEFINED`, useful for data formats like protobuf
  - Optimize writing of String names (remove intermediate copy; with JDK7 no speed benefit)
  详细信息请查看发行页面:
  https://github.com/FasterXML/jackson-core/releases
  
  此版本现已提供下载:

[*]  Source code (zip)
  
[*]  Source code (tar.gz)
  Jackson 是一个 Java 用来处理 JSON 格式数据的类库,性能非常好。
  
  
页: [1]
查看完整版本: Jackson 2.6.0 发布,高性能的 JSON 处理