An open API service indexing awesome lists of open source software.

https://github.com/kmecpp/jflame

A lightweight, yet extremely fast JSON parser and generator (still under heavy development)
https://github.com/kmecpp/jflame

Last synced: 10 months ago
JSON representation

A lightweight, yet extremely fast JSON parser and generator (still under heavy development)

Awesome Lists containing this project

README

          

# JFlame
A lightweight and extremely fast JSON parser and generator. This project aims to provide all the tools necessary to quickly and effectively create applications utilizing JSON. The JFlame's main goal is simply raw power, it's designed to run as fast as possible and as a result, a lot of the ideas for the parser came from ralfstx's [minimal-json](https://github.com/ralfstx/minimal-json). The API was designed to be as simple and intuitive as possible but still include everything you need to create, and manipulate simple JSON.

##Examples:

###Manipulate JSON data
Parse a JSON string
```
JsonValue value = Json.parse(jsonString);
```

Generate a JSON string from an object
```
String json = jsonValue.toString();
```

Generate a formatted JSON string from an object
```
String jsonFormatted = jsonObj.getFormatted();
```

Customize your JSON formatting
```
String jsonFormatted = jsonObj.getFormatted("\t");
```

###Interacting with REST webservices

Read data
```
Json.readJsonFromUrl("http://example.com/users/joe/stats");
```

Post data
```
Json.postJsonToUrl("http://example.com/users/joe/stats/add", jsonObj);
```

## Maven
```

kmecpp-repo
http://repo.kmecpp.com/maven

com.kmecpp
jflame
1.0

```