Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ateska authored Mar 22, 2024
1 parent 46a64e7 commit a86929e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a86929e

Please sign in to comment.