mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
10 lines
289 B
Python
10 lines
289 B
Python
# Phase 11 (Track J.9) — Python JSON_PARSE benign control fixture.
|
|
#
|
|
# json.loads then merge into a fresh `dict` rather than mutating the
|
|
# shared sentinel, so the canary trap on `_SHARED` cannot fire.
|
|
import json
|
|
|
|
|
|
def run(value):
|
|
parsed = json.loads(value)
|
|
return dict(parsed)
|