Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
usernane authored Dec 15, 2023
1 parent b9672ed commit 3d126ef
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,27 @@ A helper class library for creating JSON or JSONx strings in PHP. It can be used
</a>
</p>

# Content
* [What is JSON?](what-is-json)
* [Features](#features)
* [Supported PHP Versions](#supported-php-versions)
* [Installation](#installation)
* [Code Samples](#code-samples)
* [Basic Usage](#basic-usage)
* [Example](#example)
* [Converting Properties Case](#converting-properties-case)
* [Reading From Files](#reading-from-files)
* [Working With Objects](#working-with-objects)
* [Decoding JSON String](#decoding-json-string)
* [Storing Output](#storing-output)
* [Working With Arrays](#working-with-arrays)
* [JSONx](#jsonx]

## What is JSON?

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.

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

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.

## Usage
## Basic Usage
The process of using the classes is very simple. What you have to do is the following steps:

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

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

### Simple Example
### Example
The following code shows a very simple usage example.

```php
Expand Down

0 comments on commit 3d126ef

Please sign in to comment.