HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
src
ttauri
codec
JSON.hpp
1
// Copyright Take Vos 2019.
2
// Distributed under the Boost Software License, Version 1.0.
3
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5
#pragma once
6
7
#include "../tokenizer.hpp"
8
#include "../required.hpp"
9
#include "../URL.hpp"
10
#include "../datum.hpp"
11
#include "../resource_view.hpp"
12
#include "../strings.hpp"
13
#include "../exception.hpp"
14
#include "../indent.hpp"
15
#include <string>
16
#include <string_view>
17
#include <vector>
18
#include <optional>
19
20
namespace
tt {
21
26
[[nodiscard]] datum parse_JSON(std::string_view text);
27
32
[[nodiscard]] datum parse_JSON(
tt::URL
const
&file);
33
38
[[nodiscard]]
std::string
format_JSON(datum
const
&root);
39
40
}
tt::URL
Definition
URL.hpp:47
std::string
Generated on Mon Apr 22 2024 12:53:34 for HikoGUI by
1.10.0