in reply to Re: Converting entities in JSON context
in thread Converting entities in JSON context
I'm not sure I understand. It doesn't seem to be about the display only. If I write a test for this (which is where I originally discovered this situation), something like:
is($decoded_JSON->{'school'}, "Eötvös Loránd University", "convert_ent +ities correctly converted HTML entities in a JSON context, and yielde +d good JSON at the end");
, this test fails. What should I be expecting from the test, or how do I write a test to make sure that the JSON I'm sending is what I should be sending?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Converting entities in JSON context
by choroba (Cardinal) on May 19, 2022 at 13:00 UTC | |
by Anonymous Monk on May 19, 2022 at 13:11 UTC |