Skip to content

Commit 3d126ef

Browse files
authored
Update README.md
1 parent b9672ed commit 3d126ef

1 file changed

Lines changed: 19 additions & 3 deletions

File tree

README.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,27 @@ A helper class library for creating JSON or JSONx strings in PHP. It can be used
1717
</a>
1818
</p>
1919

20+
# Content
21+
* [What is JSON?](what-is-json)
22+
* [Features](#features)
23+
* [Supported PHP Versions](#supported-php-versions)
24+
* [Installation](#installation)
25+
* [Code Samples](#code-samples)
26+
* [Basic Usage](#basic-usage)
27+
* [Example](#example)
28+
* [Converting Properties Case](#converting-properties-case)
29+
* [Reading From Files](#reading-from-files)
30+
* [Working With Objects](#working-with-objects)
31+
* [Decoding JSON String](#decoding-json-string)
32+
* [Storing Output](#storing-output)
33+
* [Working With Arrays](#working-with-arrays)
34+
* [JSONx](#jsonx]
35+
2036
## What is JSON?
2137

2238
According to [json.org](https://www.json.org/json-en.html), JSON is a data exchange format which is based partially on JavaScript. It is easy for humans to read and for machines to understand. JSON data is represented as pairs of keys and values.
2339

24-
## Library Features
40+
## Features
2541
* Support fo creating well formatted JSON.
2642
* Support for creating [JSONx](https://www.ibm.com/docs/en/datapower-gateways/10.0.1?topic=20-jsonx).
2743
* Ability to decode JSON strings and convert them to `Json` objects.
@@ -47,7 +63,7 @@ If you are using composer to manage your dependencies, then it is possible to in
4763

4864
Another way to include the library is by going to [releases](https://github.com/WebFiori/json/releases) and download the latest release and extract compressed file content and add them to your include directory.
4965

50-
## Usage
66+
## Basic Usage
5167
The process of using the classes is very simple. What you have to do is the following steps:
5268

5369
* Import (or include) the class [`Json`](https://github.com/WebFiori/json/blob/master/webfiori/json/Json.php).
@@ -57,7 +73,7 @@ The process of using the classes is very simple. What you have to do is the foll
5773

5874
For more information and advanced use cases, check [here](https://webfiori.com/learn/webfiori-json).
5975

60-
### Simple Example
76+
### Example
6177
The following code shows a very simple usage example.
6278

6379
```php

0 commit comments

Comments
 (0)