utilities for ofJson
- compatible to oF 0.10
- compatible to oF 0.10
- compatible to oF 0.10
- load CONVERTIABLE_TYPE binary to json.
- ex. ofxParseBson, ofxParseMessagePack, etc... see below.
- load CONVERTIBLE_TYPE binary file to json
- convert to CONVERTIBLE_TYPE binary from json
- save json as CONVERTIBLE_TYPE
Bson
Cbor
MessagePack
UBJson
- allowed type
- ofJson (a.k.a. nlohmann::json)
- arithmetic type (i.e., int, float, ...)
- std::string
- ofVecNf
- ofMatrix4x4
- ofQuaternion
- ofRectangle
- ofColor_<PixelType>
- glm::vecN
- glm::matMxN
- glm::quat
- std::vector<allowed type>
- std::array<allowed type, N>
- std::deque<allowed type>
- std::map<std::string, allowed type>
- ofParameter<allowed type>
- ofParameterGroup
- custom class has toJson / loadJson
- utility for custom class
- utility for custom class
MIT License.
MIT License
Copyright (c) 2013-2019 Niels Lohmann
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
- update
nlohman::json
to v3.6.1 - add load / parse / save about
BSON
,CBOR
,MessagePack
,UBJSON
- refactor
- add parse / convert about
glm
- big refactor
- add NDJson support
- add of0.10 API
- ofLoadJson
- ofSaveJson
- ofSavePrettyJson
- ofSerialize
- ofDeserialize
- tiny bugfixes.
- TOMOTO Yusuke (#1, #2, #3, #5)
- Naoto HIÉDA (#6)
- nariakiiwatani (#7, #8, ofxJsonUtilsUtils)
- yumetodo (#4)
- moebiussurfing (#11)
MIT License.
- ISHII 2bit
- i[at]2bit.jp
Please create a new issue if there is a problem. And please throw a pull request if you have a cool idea!!
If you get happy with using this addon, and you're rich, please donation for support continuous development.
Bitcoin: 17AbtW73aydfYH3epP8T3UDmmDCcXSGcaf