Blender Git Loki

Git Commits -> Revision 0c59386

Revision 0c59386 by Jeroen Bakker (master)
September 22, 2021, 07:07 (GMT)
Blender Libraries: Add JSON Library.

Several areas within blender can benefit a JSON reader/writer library.
Areas like the asset browser, XR and grease pencil.

After looking at the available options we selected nlohmann's JSON for
modern C++ library. It is actively maintained for over 10 years and
flexible.

This patch only adds the header only implementation of the library so it
can be used by different areas. The asset browser project is planning to
add a small abstraction layer so it will be easier to switch between
several different serialization formats. This is currently in
development in D12544.

In cases the abstraction layer can be an overhead and undesired to be used.
In this case the header file can be directly included.

Reviewed By: Severin

Maniphest Tasks: T91430

Differential Revision: https://developer.blender.org/D12567

Commit Details:

Full Hash: 0c59386110e75b6a5ede8694556e799a2a8e73af
Parent Commit: 4c156cb
Lines Changed: +26645, -0

2 Added Paths:

/extern/json/include/json.hpp (+26640, -0) (View)
/extern/json/README.blender (+5, -0) (View)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021