CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
json_document_options.h
1#pragma once
2
3#include <system/object.h>
4#include <cstdint>
5
6namespace System
7{
8namespace Text
9{
10namespace Json
11{
12enum class JsonCommentHandling;
13class JsonDocument;
14class JsonReaderOptions;
15} // namespace Json
16} // namespace Text
17} // namespace System
18
19namespace System {
20
21namespace Text {
22
23namespace Json {
24
25class ASPOSECPP_SHARED_CLASS JsonDocumentOptions : public System::Object, public System::Details::BoxableObjectBase
26{
29
30 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
31 ASPOSECPP_SHARED_RTTI_INFO_DECL();
32
33 friend class JsonDocument;
34
35public:
36
38 ASPOSECPP_SHARED_API void set_CommentHandling(JsonCommentHandling value);
39 ASPOSECPP_SHARED_API int32_t get_MaxDepth();
40 ASPOSECPP_SHARED_API void set_MaxDepth(int32_t value);
41 ASPOSECPP_SHARED_API bool get_AllowDuplicateProperties();
42 ASPOSECPP_SHARED_API void set_AllowDuplicateProperties(bool value);
43
44 ASPOSECPP_SHARED_API JsonDocumentOptions();
45
46protected:
47
48 static const int32_t DefaultMaxDepth = 64;
49
51 #ifdef ASPOSE_GET_SHARED_MEMBERS
52 void GetSharedMembers(System::Object::shared_members_type& result) const override;
53 #endif
54
55private:
56
57 int32_t _maxDepth;
58 JsonCommentHandling _commentHandling;
59 bool _allowDuplicateProperties;
60
61};
62
63} // namespace Json
64} // namespace Text
65} // namespace System
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:51
Definition: json_document.h:71
Definition: json_document_options.h:26
void set_CommentHandling(JsonCommentHandling value)
JsonCommentHandling get_CommentHandling()
Definition: json_reader_options.h:26
@ Text
Defines color adjustment information for text.
JsonCommentHandling
Definition: json_comment_handling.h:14
Definition: db_command.h:9