diff options
| author | Jean Boussier <jean.boussier@gmail.com> | 2025-10-30 10:29:33 +0100 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-11-02 14:48:33 +0000 |
| commit | 5153a2dcb3f22cbfa1037764d491646ed5b127d5 (patch) | |
| tree | b76d60a6caa31786de037b15744c42a8a7537820 /node.c | |
| parent | 11583f53b172ead33355330c1445964d5af47f46 (diff) | |
[ruby/json] Invoke `as_json` callback for strings with invalid encoding
Fix: https://github.com/ruby/json/issues/873
This allow users to encode binary strings if they so wish.
e.g. they can use Base64 or similar, or chose to replace invalid
characters with something else.
https://github.com/ruby/json/commit/b1b16c416f
Diffstat (limited to 'node.c')
0 files changed, 0 insertions, 0 deletions
