Releases: PersonTheCat/hjson-java
Releases · PersonTheCat/hjson-java
Hjson - C11 Preview
Fixed a comment positions for JsonValue#appendInteriorComment and variants.
Hjson - C10 Preview
- Added
JsonValue#prependCommentand variants. - Better formatting for generated multiline block comments
- Minor fixes and improvements to
JsonValue#valueOf(Object)
Hjson - C9 Preview
- Added
JsonObject#getAllPaths - Added
JsonArray#getAllPaths - Fixed a few bugs with
JsonArray#getUsedPaths
Hjson - C8 Preview
Bumps the version to fix stale sources on Jitpack
Hjson - C7 Preview
Updates JsonValue#appendComment to only append if the comment is not empty. Otherwise, it will set the comment.
Hjson - C6 Preview
- Added several new utilities for manipulating comments
- Added
JsonValue#getCommentTextto view the message of a comment - Added
JsonValue#appendCommentto add a new line onto a comment - Added
JsonValue#formatComment - Added
JsonValue#stripComment - Added
JsonValue#commentsMatch
- Added
- Fixed some equals implementations not checking comments
- Added
JsonValue#shallowCopy - Added
JsonValue#deepCopyand overload - Exposed
JsonLiteralfor public use (seems to have been a bug) - Exposed
JsonObject#indexOffor public use - Added overload of
JsonObject#getwhich takes an index - Added
JsonValue#indexOf - Added
JsonValue#lastIndexOf
Hjson - C5 Preview
- Added JsonValue#copyComments
- Added JsonValue#clearComments
Hjson - C4 Preview
Note that this project is experimental. The entire project will be written from scratch in the coming months.
- Support converting from the following raw types:
- enums
- primitive arrays
- null
- Support converting to the following raw types:
- map of string -> object
Hjson - C3 Preview
- Safer way to configure new line output:
HjsonOptions#setNewLine - Fixed extra new line in regular formatted JSON output
Hjson - C2 Preview
Changes from hjson/hjson-java:
- store and update comments in code
- line length averaging for some sloppy containers
- json value usage tracking
- object sorting
- more
This release is a preview. It will eventually be rewritten completely from scratch.