From a86929eb7a73aed971f08144ce3022b8211eb59d Mon Sep 17 00:00:00 2001 From: Ales Teska Date: Fri, 22 Mar 2024 16:33:11 +0100 Subject: [PATCH] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4f7e2e1..4184ec6 100644 --- a/README.md +++ b/README.md @@ -42,12 +42,14 @@ _Note: `parser` object can be reused for maximum performance._ parser = cysimdjson.JSONParser() json_parsed = parser.loads(json_bytes) -# Access using JSON Pointer +# Access in a Python way print(json_parsed.json_parsed['foo']) ``` The `json_parsed` is a read-only dictionary-like object, that provides an access to JSON data. +**WARNING:** This method of the access will be deprecated in the future, likely in favour of JSON Pointer. + ## Trade-offs