Skip to content

Releases: TeamworkGuy2/JsonStringify

JsonStringify 0.2.2

10 Mar 01:36
Compare
Choose a tag to compare

Changed

  • Updated dependency jfunc@0.4.0 (latest)

JsonStringify 0.2.1

10 Mar 01:35
Compare
Choose a tag to compare

Changed

  • Updated dependency jtext-util@0.11.1 (latest)

JsonStringify 0.2.0

10 Mar 01:35
Compare
Choose a tag to compare

Added

  • JsonWritable interface with toJson() method for objects which can be converted to JSON
  • JsonStringify comma(), append(), indent(), toArray(), toStringArray(), toArrayConsume(), toProp(), propName(), and propNameUnquoted() with various overloads for most
  • A 'public static final JsonStringify inst' field to the no longer static JsonStringify as a default instance

Changed

Rebuilt JsonStringify as an instanced class (but with no fields making it thread save) to allow for method chaining:

  • Renamed JsonStringify toJsonProperty() -> toProperty()
  • Expanded JsonStringify join*() method generic parameter types

JsonStringify 0.1.0

10 Mar 01:35
Compare
Choose a tag to compare

Added

  • Versioning of existing code. Moved/renamed JsonWrite -> JsonStringify from jfile-io to this new library.
    • Renamed joinStr*() methods to join() and added 'escape' parameter
    • Added joinEscape() methods which call join() with the 'escape' flag set to true
    • Added toJsonProperty() methods