./textproc/ruby-multi_json, General-purpose swappable JSON backend library

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ] [ Image Add to tracker ]


Branch: CURRENT, Version: 1.20.1, Package name: ruby33-multi_json-1.20.1, Maintainer: pkgsrc-users

MultiJSON

Lots of Ruby libraries utilize JSON parsing in some form, and everyone has
their favorite JSON library. In order to best support multiple JSON parsers
and libraries, multi_json is a general-purpose swappable JSON backend library.


Required to run:
[lang/ruby26-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 35.5 KB

Version history: (Expand)


CVS history: (Expand)


   2026-04-12 17:12:59 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
textproc/ruby-multi_json: update to 1.20.1

1.20.0 (2026-04-10)

Changrs from 1.19.1 are too many to write here, please refer:
<https://github.com/sferik/multi_json/blob/main/CHANGELOG.md>.

1.20.1 (2026-04-12)

* Fix JsonGem#load raising ParseError on ASCII-8BIT strings that contain
  valid UTF-8 bytes (#64).  Ruby HTTP clients tag response bodies as
  ASCII-8BIT by default; the 1.20.0 change from force_encoding to encode
  broke the dominant real-world case by trying to transcode each byte
  individually.  Switch back to force_encoding followed by a valid_encoding?
  guard so genuinely invalid byte sequences still surface as ParseError.

* Validate custom adapters during MultiJson.use and MultiJson.load/dump with
  an :adapter option, raising MultiJson::AdapterError immediately if the
  adapter does not respond to .load, .dump, or define a ParseError constant.

* Validate OptionsCache.max_cache_size= to reject nil, zero, negative, and
  non-integer values with a clear ArgumentError.
   2026-01-18 15:30:25 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
textproc/ruby-multi_json: update to 1.19.1

1.18.0 (2025-12-01)

* Fix conflict between JSON gem and ActiveSupport

1.19.0 (2025-12-26)

* Fix serialization of ActiveSupport-enhanced objects

1.19.1 (2025-12-26)

* Restore deprecated encode/decode methods
   2025-08-02 07:11:32 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
textproc/ruby-multi_json: update to 1.17.0

1.16.0 (2025-07-10)

* Remove NSJSONSerialization
* Stop referencing JSON::PRETTY_STATE_PROTOTYPE
* Drop support for Ruby versions < 3.2
* Move repo from @intridea to @sferik
* JsonCommon: force encoding to UTF-8, not binary
* Stop setting defaults in JsonCommon
* Make json_pure an alias of json_gem

1.17.0 (2025-07-19)

* Revert minimum ruby version requirement
   2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161)
Log message:
textproc: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
   2021-10-07 17:02:49 by Nia Alarie | Files touched by this commit (1162)
Log message:
textproc: Remove SHA1 hashes for distfiles
   2020-09-14 18:06:03 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
textproc/ruby-multi_json: update to 1.15.0

Update ruby-multi_json pacakge to 1.15.0.

1.15.0 (2020-07-10)

* Improve detection of json_gem adapter
   2020-03-24 17:57:02 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
textproc/ruby-multi_json: update to 1.14.1

Update ruby-multi_json to 1.14.1.
pkgsrc change: add "USE_LANGUAGES=	# none".

1.14.1
------

* [Fix a warning in Ruby \ 
2.7](https://github.com/intridea/multi_json/commit/26a94ab8c78a394cc237e2ea292c1de4f6ed30d7)

1.14.0
------

* [Support Oj 3.x \ 
gem](https://github.com/intridea/multi_json/commit/5d8febdbebc428882811b90d514f3628617a61d5)
   2018-03-14 16:51:13 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
textproc/ruby-multi_json: update to 1.13.1

1.13.1
------

* [Fix missing stdlib set dependency in oj \ 
adapter](https://github.com/intridea/multi_json/commit/c4ff66e7bee6fb4f45e54429813d7fada1c152b8)

1.13.0
-----

* [Make Oj adapter handle JSON::ParseError \ 
correctly](https://github.com/intridea/multi_json/commit/275e3ffd8169797c510d23d9ef5b8b07e64c3b42)