But when Perl and or JSON::XS is loading the JSON file, it seems to be reinterpreting the $t some how as the current time.
Sorry, but almost certainly not.
use warnings; use strict; use Data::Dump; use JSON::XS; dd decode_json('{ "updated":{ "$t":"2019-07-19T20:04:56.046Z" } }') __END__ { updated => { "\$t" => "2019-07-19T20:04:56.046Z" } }
Again, please provide a Short, Self-Contained, Correct Example that we can run that shows otherwise.
In reply to Re^3: Escape $ in JSON::XS decoded
by haukex
in thread Escape $ in JSON::XS decoded
by johnfl68
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |