Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::JSONDocument Class Reference

Classes

class  Impl

Public Member Functions

void parse (Span< const Byte > bytes)
 Reads the file in UTF-8 format.
void parse (Span< const std::byte > bytes)
 Reads the file in UTF-8 format.
void parse (Span< const Byte > bytes, StringView file_name)
 Reads the file in UTF-8 format.
void parse (Span< const std::byte > bytes, StringView file_name)
 Reads the file in UTF-8 format.
JSONValue root () const
 Root element.

Detailed Description

Constructor & Destructor Documentation

◆ JSONDocument()

Arcane::JSONDocument::JSONDocument ( )

Definition at line 348 of file JSONReader.cc.

◆ ~JSONDocument()

Arcane::JSONDocument::~JSONDocument ( )

Definition at line 355 of file JSONReader.cc.

Member Function Documentation

◆ parse() [1/4]

void Arcane::JSONDocument::parse ( Span< const Byte > bytes)

Reads the file in UTF-8 format.

Definition at line 441 of file JSONReader.cc.

References Arcane::asBytes(), and parse().

Referenced by parse(), parse(), and parse().

◆ parse() [2/4]

void Arcane::JSONDocument::parse ( Span< const Byte > bytes,
StringView file_name )

Reads the file in UTF-8 format.

Definition at line 450 of file JSONReader.cc.

References Arcane::asBytes(), and parse().

◆ parse() [3/4]

void Arcane::JSONDocument::parse ( Span< const std::byte > bytes)

Reads the file in UTF-8 format.

Definition at line 432 of file JSONReader.cc.

References parse().

◆ parse() [4/4]

void Arcane::JSONDocument::parse ( Span< const std::byte > bytes,
StringView file_name )

Reads the file in UTF-8 format.

Definition at line 415 of file JSONReader.cc.

References ARCCORE_FATAL, Arcane::SpanImpl< T, SizeType, Extent >::data(), and Arcane::SpanImpl< T, SizeType, Extent >::size().

◆ root()

JSONValue Arcane::JSONDocument::root ( ) const

Root element.

Definition at line 459 of file JSONReader.cc.


The documentation for this class was generated from the following files: