DAW JSON Link
daw_json_link.h
Go to the documentation of this file.
1 // Copyright (c) Darrell Wright
2 //
3 // Distributed under the Boost Software License, version 1.0. (see accompanying
4 // file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
5 //
6 // Official repository: https://github.com/beached/daw_json_link
7 //
8 
9 #pragma once
10 #include "daw_from_json.h"
11 #include "daw_json_exception.h"
12 #include "daw_json_link_types.h"
13 #include "daw_to_json.h"
15 #include "impl/daw_json_value.h"
16 #include "impl/version.h"
17 
18 /***
19  * Construct a json_value from a string literal
20  * @return A json_value representing the json document
21  */
22 constexpr daw::json::json_value operator"" _dawjson( char const *ptr,
23  std::size_t sz ) {
24  return daw::json::json_value( std::string_view( ptr, sz ) );
25 }
Definition: daw_json_value.h:316
basic_json_value< NoCommentSkippingPolicyChecked > json_value
Definition: daw_json_link_types.h:1671