Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: PersonTheCat/hjson-java

Hjson - C11 Preview

12 Feb 01:10

Choose a tag to compare

Hjson - C11 Preview Pre-release
Pre-release

Fixed a comment positions for JsonValue#appendInteriorComment and variants.

Hjson - C10 Preview

11 Feb 20:13

Choose a tag to compare

Hjson - C10 Preview Pre-release
Pre-release
  • Added JsonValue#prependComment and variants.
  • Better formatting for generated multiline block comments
  • Minor fixes and improvements to JsonValue#valueOf(Object)

Hjson - C9 Preview

08 Feb 00:20

Choose a tag to compare

Hjson - C9 Preview Pre-release
Pre-release
  • Added JsonObject#getAllPaths
  • Added JsonArray#getAllPaths
  • Fixed a few bugs with JsonArray#getUsedPaths

Hjson - C8 Preview

07 Feb 03:37

Choose a tag to compare

Hjson - C8 Preview Pre-release
Pre-release

Bumps the version to fix stale sources on Jitpack

Hjson - C7 Preview

07 Feb 03:28

Choose a tag to compare

Hjson - C7 Preview Pre-release
Pre-release

Updates JsonValue#appendComment to only append if the comment is not empty. Otherwise, it will set the comment.

Hjson - C6 Preview

07 Feb 03:22

Choose a tag to compare

Hjson - C6 Preview Pre-release
Pre-release
  • Added several new utilities for manipulating comments
    • Added JsonValue#getCommentText to view the message of a comment
    • Added JsonValue#appendComment to add a new line onto a comment
    • Added JsonValue#formatComment
    • Added JsonValue#stripComment
    • Added JsonValue#commentsMatch
  • Fixed some equals implementations not checking comments
  • Added JsonValue#shallowCopy
  • Added JsonValue#deepCopy and overload
  • Exposed JsonLiteral for public use (seems to have been a bug)
  • Exposed JsonObject#indexOf for public use
  • Added overload of JsonObject#get which takes an index
  • Added JsonValue#indexOf
  • Added JsonValue#lastIndexOf

Hjson - C5 Preview

13 Nov 21:51

Choose a tag to compare

Hjson - C5 Preview Pre-release
Pre-release
  • Added JsonValue#copyComments
  • Added JsonValue#clearComments

Hjson - C4 Preview

05 Oct 16:32

Choose a tag to compare

Hjson - C4 Preview Pre-release
Pre-release

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

25 Aug 13:17

Choose a tag to compare

Hjson - C3 Preview Pre-release
Pre-release
  • Safer way to configure new line output: HjsonOptions#setNewLine
  • Fixed extra new line in regular formatted JSON output

Hjson - C2 Preview

09 Jul 21:40

Choose a tag to compare

Hjson - C2 Preview Pre-release
Pre-release

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.