Json context used during Json reading and writing to hold the context information
More...
#include <JsonSerializationContext.hpp>
Json context used during Json reading and writing to hold the context information
◆ JsonSerializationContext()
Arp::System::Commons::Json::JsonSerializationContext::JsonSerializationContext |
( |
JsonDocument & |
document | ) |
|
|
explicit |
◆ InvalidJsonObjectOccurs()
void Arp::System::Commons::Json::JsonSerializationContext::InvalidJsonObjectOccurs |
( |
JsonReader & |
reader, |
|
|
const char * |
jsonObjectName |
|
) |
| |
this operation should be called while xml serialisation when an unknown xml element is recognized
- Parameters
-
reader | Json reader object |
jsonObjectName | Json Reader object name |
◆ ResolvePath()
String Arp::System::Commons::Json::JsonSerializationContext::ResolvePath |
( |
const char * |
documentPath | ) |
|
Resolves a relative path into an absolute relative to the document path and replaces all placeholders
- Parameters
-
documentPath | Document path |
- Returns
- Resolved string path
◆ ResolvePlaceholder()
String Arp::System::Commons::Json::JsonSerializationContext::ResolvePlaceholder |
( |
const char * |
input | ) |
|
Resolves a string with a placeholder (Enviroment variables)
- Parameters
-
input | Stream with placeholder |
- Returns
- Resolved string
◆ ResolveRelativePath()
String Arp::System::Commons::Json::JsonSerializationContext::ResolveRelativePath |
( |
const String & |
documentPath | ) |
|
Resolves a relative path into an absolute relative to the document path
- Parameters
-
documentPath | Document path |
- Returns
- Resolved string path
The documentation for this class was generated from the following files: