php-json-comment

Lightweight JSON comment and trailing comma stripper library for PHP with support for literal newlines and nested JSON strings.

MIT License

Downloads
436.3K
Stars
31
Committers
6

Bot releases are visible (Hide)

php-json-comment - Version 1.2.1 Latest Release

Published by adhocore about 2 years ago

Bug Fixes

  • Check file existence by @martijnengler

Miscellaneous

  • Retire <PHP7.3, add PHP8.1 (@adhocore) 2b34020
php-json-comment - Version 1.2.0

Published by adhocore about 2 years ago

Bug Fixes

  • #15 JSON string inside JSON with comment like value breaks (Jitendra) d0d878a
php-json-comment - Version 1.1.2

Published by adhocore over 3 years ago

Miscellaneous

  • Cleanup (Jitendra Adhikari) 16993a7

Documentations

  • Multiline string (Jitendra Adhikari) 5b70678
php-json-comment - Version 1.1.1

Published by adhocore over 3 years ago

Features

  • Comment: Support literal LF char inside string (Jitendra Adhikari) edfa29b

Bug Fixes

  • Comment: Detect string end properly (Jitendra Adhikari) fc6bb56

Documentations

  • Add example json (Jitendra Adhikari) c763fba
php-json-comment - Version 1.1.0

Published by adhocore over 3 years ago

Features

  • Comment: Add parse from file (Jitendra Adhikari) c9511b0

Documentations

  • Add parseFromFile (Jitendra Adhikari) 91b16b9
php-json-comment - Version 1.0.0

Published by adhocore over 3 years ago

Internal Refactors

  • Comment: Upgrade to php7 syntax (Jitendra Adhikari) 9d28f73

Miscellaneous

  • Composer: Require php7 (Jitendra Adhikari) 28d825c

Documentations

  • Php5.6 (Jitendra Adhikari) 39237bb

Builds

  • Travis: Retire php5, add php8 (Jitendra Adhikari) e71e04f
php-json-comment - Version 0.2.0

Published by adhocore over 3 years ago

Features

  • Comment: Support trimming trailing comma at end of array or object (Jitendra Adhikari) 3e2c03c

Miscellaneous

  • Composer: Try for php5.6 (Jitendra Adhikari) 4f654b5
  • Composer: Bump phpunit, require ext-ctype (Jitendra Adhikari) b9e3201
  • Gitignore (Jitendra Adhikari) f2e2cad

Documentations

  • Add trailing comma support (Jitendra Adhikari) 7d5e2d2

Builds

  • Travis: Add php 7.4 (Jitendra Adhikari) 6147857
php-json-comment - Version 0.1.0

Published by adhocore almost 5 years ago

Miscellaneous

  • Add and use composer test script, bump phpunit (Jitendra Adhikari) 44f9bd6

Documentations

  • Rename to README.md (Jitendra Adhikari) 171fa88

Builds

  • Travis: Retire PHP pre 5.6, add PHP 7.3 (Jitendra Adhikari) db274d2
php-json-comment - Version v0.0.7

Published by adhocore about 6 years ago

refactor(Comment): split inStringOrCommentEnd()refactor(Comment): split strip() for claritydocs: fix badgeTest enhancement

php-json-comment - Version 0.0.6

Published by adhocore about 6 years ago

  • feat: add ::parse() static shortcut for decode()
php-json-comment - Version 0.0.5

Published by adhocore over 6 years ago

feat(decode): throw exception if decode failed

php-json-comment - Version 0.0.4

Published by adhocore over 6 years ago

internal refactor

php-json-comment - v0.0.2

Published by adhocore about 7 years ago

Initial working version