nemo_gym.atif_json

View as Markdown

Strict JSON helpers for Gym’s ATIF conversion boundaries.

Module Contents

Functions

NameDescription
json_values_equalCompare JSON values without Python’s bool/integer equality aliasing.
strict_json_loadsDecode RFC 8259 JSON without losing large integers or duplicate-key evidence.

API

nemo_gym.atif_json.json_values_equal(
left: typing.Any,
right: typing.Any
) -> bool

Compare JSON values without Python’s bool/integer equality aliasing.

nemo_gym.atif_json.strict_json_loads(
payload: str | bytes
) -> typing.Any

Decode RFC 8259 JSON without losing large integers or duplicate-key evidence.