Api.h
1/* Copyright (C) 2015-2023 by Dr. Marc Boris Duerner
2 SPDX-License-Identifier: LGPL-2.1-or-later WITH mif-exception
3*/
4
5#ifndef PT_JSON_API_H
6#define PT_JSON_API_H
7
8#include <Pt/Api.h>
9
10#define PT_JSON_VERSION_MAJOR PT_VERSION_MAJOR
11#define PT_JSON_VERSION_MINOR PT_VERSION_MINOR
12#define PT_JSON_VERSION_REVISION PT_VERSION_REVISION
13#define PT_JSON_VERSION_PRERELEASE PT_VERSION_PRERELEASE
14
15#if defined(PT_JSON_API_EXPORT)
16# define PT_JSON_API PT_EXPORT
17# else
18# define PT_JSON_API PT_IMPORT
19# endif
20
21namespace Pt {
22
26namespace Json {
27
28 class Node;
29 class Enddocument;
30 class JsonReader;
31
32} // namespace Json
33
34} // namespace Pt
35
36#endif
Reads JSON as a Stream of Nodes.
Definition JsonReader.h:51
JSON document node.
Definition Node.h:52
Read and write JSON ducuments.
Core module.
Definition Allocator.h:33