JSON Handling Library Objective
Write a library for JSON manipulation.
The library includes the following functionality:
1. Load a JSON file into an internal representation in memory
( deserialize)
2. Allow accessing values in an arbitrary location within the
JSON tree, and setting those values
3. Save the internal representation into a JSON file (serialize)
JSON Format
A JSON value can be one of the following:
String: a set of characters enclosed by double quotes.
Example: "hello"
Integer: a number. Example: 12
List: a list of other JSON values, separated by commas,
enclosed in square brackets. Example: [12, "hello", 14]
Dictionary: a list of key: value pairs, where the key is
always a String, and the value can be of any type. Separated by
commas, enclosed in curly braces. Example: {"one": 1, "name":
"James"}
Here are examples of valid JSON inputs:
{"one":123,"name":["James","Brown"]}
"just a string"
12
[1,2,{"one":{"two":{"three":["four"]}},"five":5},"five"]
סייבר-ארק הישראלית - ספקית תוכנה להגנת יישומים, זהויות ומידע קריטיים. מפתחת טכנולוגיית כספות וירטואליות שזוכות להצלחה עולמית ואומצו על ידי בנקים, חברות ביטוח וארגונים אחרים.