Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
2bbb committed Nov 30, 2019
1 parent 630a8d9 commit bbe39e5
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,31 @@ utilities for `ofJson`

* compatible to oF 0.10

### ofJson ofxParse**Xxx**(const std::vector\<std::uint8_t\> &binary)

* load **CONVERTIABLE_TYPE** binary to json.
* ex. ofxParseBson, ofxParseMessagePack, etc... see below.

### ofJson ofLoad**Xxx**(const std::filesystem::path &filename)

* load **CONVERTIBLE_TYPE** binary file to json

### std::vector\<std::uint8_t\> ofxConvertTo**Xxx**(const ofJson &json)

* convert to **CONVERTIBLE_TYPE** binary from json

### bool ofxSaveJsonAs**Xxx**(const std::filesystem::path &filename, const ofJson &json)

* save json as **CONVERTIBLE_TYPE**

#### **Xxx** : CONVERTIBLE_TYPE
* `Bson`
* `Cbor`
* `MessagePack`
* `UBJson`

### ofJson convert(const T &value)

### void parse(const ofJson &json, T &value)

* allowed type
Expand Down Expand Up @@ -80,6 +104,11 @@ SOFTWARE.

## Update history

### 2019/11/30 ver 0.2.0 release

* update `nlohman::json` to v3.6.1
* add load / parse / save about `BSON`, `CBOR`, `MessagePack`, `UBJSON`

### 2018/07/29 ver 0.1.1 release

* refactor
Expand Down

0 comments on commit bbe39e5

Please sign in to comment.