Releases of binson-java.
XXX. Next release.
- Added method Binson.fieldNames(). It returns a sorted list of field names. Can be used to iterate the fields of a Binson object.
-
Added limit to number of fields that the parser accepts. By default, BinsonParser now accepts no more than 1000 fields of a Binson object. The actual limit can be set; see BinsonParser.setMaxFieldCount().
-
Some improvements to code beauty.
- Strict parsing for integer ranges now enforced. As specified in BINSON-SPEC-1, integers MUST be stored with as few bytes as possible. This is now enforced by the parser. Data that violates this, will result in a BinsonFormatException.
- Strict parsing introduced. See Issue #6.
- Support for Binson strings removed.
- The Binson class now does not implement Map.
- The BinsonArray class now does not implement List.
The BinsonParser class improved to allow for better control of memory allocation. The client of the library can now set a maximum supported size of a Binson object before the parsing is done. This can be important for security. In the previous release an OutOfMemoryException could be provoked by a maliciously crafted Binson object.
Stable release, FormatException renamed to BinsonFormatException in this release.
Jar file compiled with Java 7 is included in the release. Also a Javadoc zip file. Just unzip to read the documentation. It has some examples. Also see README.md file.
See releases on github.com.