HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
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 <string>
12#include <optional>
13#include <string_view>
14
15namespace tt {
16
21[[nodiscard]] datum parse_JSON(std::string_view text);
22
27[[nodiscard]] datum parse_JSON(tt::URL const &file);
28
33[[nodiscard]] std::string format_JSON(datum const &root);
34
35}
Definition URL.hpp:46