PackageTrack

Go modules · #1768

github.com/ohler55/ojg

v1.28.5ohler55/ojg

Release timeline

188 releases since 2020
202120222023202420252026

Releases

  1. v1.12.1110 Dec 2021
    Release notes2 sources agree

    Fixed

    • Parser reuse was no resetting callback and channels. It does now.
    Open source →
  2. v1.12.108 Dec 2021
    Release notes2 sources agree

    Added

    • Added a delete option to the oj application.
    Open source →
  3. v1.12.10-0.20211126010352-7b5d2c032d2a26 Nov 2021pre-release

    Nothing published for this version

  4. v1.12.931 Oct 2021
    Release notes2 sources agree

    Fixed

    • Stuttering extracted elements when using the -x options has been fixed.
    Open source →
  5. v1.12.822 Sept 2021
    Release notes2 sources agree

    Fixed

    • Correct unicode character is now included in error messages.
    Open source →
  6. v1.12.714 Sept 2021
    Release notes2 sources agree

    Fixed

    • Typo in maxEnd for 32 bit architecture fixed.
    • json.Unmarshaler fields in a struct correctly unmarshal.
    Open source →
  7. v1.12.7-0.20210913235300-7fca5bd5386013 Sept 2021pre-release

    Nothing published for this version

  8. v1.12.612 Sept 2021
    Release notes2 sources agree

    Fixed

    • Due to limitation (a bug most likely) in the stardard math package math.MaxInt64 can not be used on 32 bit architectures. Changes were made to work around this limitation.

    • Embedded (Anonymous) pointers types now encode correctly.

    Added

    • Support for json.Unmarshaler interface added.
    Open source →
  9. v1.12.6-0.20210818000615-fbb7accef1c218 Aug 2021pre-release

    Nothing published for this version

  10. v1.12.518 Aug 2021
    Release notes2 sources agree

    Changed

    • Updated to use go 1.17.
    Open source →
  11. v1.12.46 Aug 2021
    Release notes2 sources agree

    Fixed

    • Setting an element in an array that does not exist now creates the array is the Nth value is not negative.
    Open source →
  12. v1.12.31 Aug 2021
    Release notes2 sources agree

    Fixed

    • Error message on failed recompose was fixed to display the correct error message.
    • Marshal of a non-pointer that contains a json.Marshaller that is not a pointer no longer fails.
    Open source →
  13. v1.12.3-0.20210801141003-ad0cb1d215eb1 Aug 2021pre-release

    Nothing published for this version

  14. v1.12.228 Jul 2021
    Release notes2 sources agree

    Fixed

    • Structs with recursive lists no longer fail.
    Open source →
  15. v1.12.124 Jul 2021
    Release notes2 sources agree

    Fixed

    • Applying filters to a non-simple list such as []*Sample now supported as expected.
    Open source →
  16. v1.12.1-0.20210722003546-fbfa27e1bc2a22 Jul 2021pre-release

    Nothing published for this version

  17. v1.12.03 Jul 2021
    Release notes2 sources agree

    Added

    • SEN format parsing now allows string to be delimited with the single quote character.
    • SEN format parsing now allows strings to be concatenated with syntax like ["abc" + "def"].
    • SEN format parsing now allows functions such as ISODate("2021-06-28T10:11:12Z") in SEN data.

    Changed

    • When Pretty Align is true map members are now aligned.
    Open source →
  18. v1.11.2-0.20210618145246-1b3c1d6a8c7a18 Jun 2021pre-release

    Nothing published for this version

  19. v1.11.2-0.20210618024020-bd9eb4f294d418 Jun 2021pre-release

    Nothing published for this version

  20. v1.11.129 May 2021
    Release notes2 sources agree

    Fixed

    • Missing support for json.Marshaler and encoding.TextMarshaler added.
    Open source →
  21. v1.11.1-0.20210528123401-f1db2d62ba8628 May 2021pre-release

    Nothing published for this version

  22. v1.11.022 May 2021
    Release notes2 sources agree

    Fixed

    • Struct with pointers to base types such as *float64 are fixed.
    • Stack overflow when converting values to JSON which are a type alias of a builtin.

    Added

    • Added []byte converation option for decompose.
    • Added MustXxx versions of multiple functions to allow a panic and recover code pattern.

    Changed

    • oj.Unmarshal now emits float64 for all numbers instead of int64 for integers. The parse functions remain unchanged.
    Open source →
  23. v1.10.5-develop.0.20210522204020-2e5ccef3ac2e22 May 2021pre-release

    Nothing published for this version

  24. v1.10.5-develop.0.20210522153329-314707f7eb6522 May 2021pre-release

    Nothing published for this version

  25. v1.10.5-develop.0.20210522130615-ba6385a384bf22 May 2021pre-release

    Nothing published for this version

  26. v1.10.5-develop.0.20210522001241-821d3e6d6df322 May 2021pre-release

    Nothing published for this version

  27. v1.10.5-develop.0.20210521022018-cea011b05fb421 May 2021pre-release

    Nothing published for this version

  28. v1.10.5-develop.0.20210520114836-7080bd9c604520 May 2021pre-release

    Nothing published for this version

  29. v1.10.5-develop.0.20210518235955-134bd72d097618 May 2021pre-release

    Nothing published for this version

  30. v1.10.5-develop.0.20210518151118-caf54cc2a2c418 May 2021pre-release

    Nothing published for this version

  31. v1.10.5-develop17 May 2021pre-release

    Nothing published for this version

  32. v1.10.4-develop8 May 2021pre-release

    Nothing published for this version

  33. v1.10.3-develop5 May 2021pre-release

    Nothing published for this version

  34. v1.10.2-develop5 May 2021pre-release

    Nothing published for this version

  35. v1.10.1-develop5 May 2021pre-release

    Nothing published for this version

  36. v1.10.1-0.20210419130410-d495dbce600019 Apr 2021pre-release

    Nothing published for this version

  37. v1.10.018 Apr 2021
    Release notes2 sources agree

    Fixed

    • Multiple part json tags are now parsed correctly and the string options is supported in both decompose and compose.

    Added

    • Tokenize callback parser added.
    Open source →
  38. v1.9.54 Apr 2021
    Release notes2 sources agree

    Fixed

    • OmitNil now catches nil maps and slices more consistently.
    Open source →
  39. v1.9.44 Apr 2021
    Release notes2 sources agree

    Fixed

    • Number parsing in the form of 2e-7 has been fixed.
    Open source →
  40. v1.9.331 Mar 2021
    Release notes2 sources agree

    Fixed

    • Writer functions now decompose structs if possible instead of resorting to %v too quickly.
    Open source →
  41. v1.9.224 Mar 2021
    Release notes2 sources agree

    Fixed

    • When parsing SEN format \r is now allowed in strings to support Windows line termination as it works in Linux and macOS.
    Open source →
  42. v1.9.122 Mar 2021
    Release notes2 sources agree

    Fixed

    • oj.Unmarshal now supports the optional alt.Recomposer as documented.
    • Recomposer handles time.Time recomposing like any other struct.
    • Write writes time.Time to conform to other struct encoding.
    Open source →
  43. v1.9.013 Mar 2021
    Release notes2 sources agree

    Added

    • The Recomposer is now more flexibly in regard to input types. It now allows json.Unmarshal() targets as well as the type create key approach.
    • Added flag to alt.Options to determine whether embedded anonymous types whould be output as nested elements or flattened.
    • Added oj.Unmarshal and sen.Unmarshal.
    Open source →
  44. v1.8.06 Mar 2021
    Release notes2 sources agree

    Added

    • Added alignment option for pretty printing.
    • Added alt.Diff() and alt.Compare().
    • Added color option for encoded time.
    • Add alt.Converter along with some built in converter for time and mongodb export maps.
    Open source →
  45. v1.7.126 Feb 2021
    Release notes2 sources agree

    Added

    • Added HTMLUnsafe option to oj JSON writing to not encode &, <, and > to provide consistency
    • Added HTMLSafe option to sen options to encode &, <, and > to provide consistency

    Fixed

    • Fixed panic for {"""":0}. Now an error is returned.
    Open source →
  46. v1.7.022 Feb 2021
    Release notes2 sources agree

    Added

    • Added support for a configuration file.
    • Added ability to set colors when using the -c and -b option.
    • Added ability to set HTML colors when using the -html option.
    Open source →
  47. v1.6.020 Feb 2021
    Release notes2 sources agree

    Added

    • Added assembly plan package and cmd/oj option that allows assembling a new JSON from parsed data.
    • Added sen.Parse() and sen.ParseReader() that use a new sen.DefaultParser
    • Added the pretty package for prettier JSON layout.
    • Added HTMLOptions for generating HTML color styled text.
    Open source →
  48. v1.5.09 Feb 2021
    Release notes2 sources agree

    Fixed

    • Fixed reflection bug that occurred when a struct did not have the requested field.

    Added

    • Added tab option for indentation.

    Changed

    • Write operations now use panic and recovery internally for more robust error handling and for a very slight performance improvement.
    Open source →
  49. v1.4.2-0.20210207200639-25bcb65b8b507 Feb 2021pre-release

    Nothing published for this version

  50. v1.4.13 Feb 2021
    Release notes2 sources agree

    Fixed

    • The SEN parser and writer did not allow \n or \t in strings. It now does as would be expected from a friendly format.
    Open source →
  51. v1.4.03 Jan 2021
    Release notes2 sources agree

    Fixed

    • JSONPath Slice end is now exclusive as called for in the Goessner description and the consensus.
    • Nested array parsing bug fixed.
    Open source →
  52. v1.3.1-0.20210102201221-a54a3ea8cb382 Jan 2021pre-release

    Nothing published for this version

  53. v1.3.1-0.20210102022652-50a75911eff22 Jan 2021pre-release

    Nothing published for this version

  54. v1.3.1-0.20210101185827-7fb20c973aea1 Jan 2021pre-release

    Nothing published for this version

  55. v1.3.028 Oct 2020
    Release notes2 sources agree

    Added

    • oj.Marshal added. The function fails if an un-encodeable value is encountered.
    • UseTags option added for write and decompose Options.
    Open source →
  56. v1.2.113 Sept 2020
    Release notes2 sources agree

    Fixed

    • Order is preserved when using JSONPath to follow wildcards, unions, and slices.
    Open source →
  57. v1.2.1-0.20200910201300-da4bea2e3f4b10 Sept 2020pre-release

    Nothing published for this version

  58. v1.2.021 Jul 2020
    Release notes2 sources agree

    Added

    • Parse Resuse option added to allow reusing maps on subsequent parses.
    • In addition to callbacks, parsing multi-json documents can place elements on a chan interface{}.

    Changed

    • A code refactoring resulting in a performance boost to Parsing and Validation.
    Open source →
  59. v1.1.414 Jul 2020
    Release notes2 sources agree

    Changed

    • Validation speedup using a one switch statement and character maps.
    Open source →
  60. v1.1.310 Jul 2020
    Release notes2 sources agree

    Fixed

    • Validator bug introduced in the speedup fixed.
    Open source →