iceberg-cpp
Loading...
Searching...
No Matches
Functions
json_serde_internal.h File Reference
#include <string>
#include <string_view>
#include <nlohmann/json_fwd.hpp>
#include "iceberg/iceberg_data_export.h"
#include "iceberg/puffin/type_fwd.h"
#include "iceberg/result.h"

Go to the source code of this file.

Functions

nlohmann::json iceberg::puffin::ToJson (const BlobMetadata &blob_metadata)
 Serialize a BlobMetadata to JSON.
 
Result< BlobMetadataiceberg::puffin::BlobMetadataFromJson (const nlohmann::json &json)
 Deserialize a BlobMetadata from JSON.
 
nlohmann::json iceberg::puffin::ToJson (const FileMetadata &file_metadata)
 Serialize a FileMetadata to JSON.
 
Result< FileMetadataiceberg::puffin::FileMetadataFromJson (const nlohmann::json &json)
 Deserialize a FileMetadata from JSON.
 
std::string iceberg::puffin::ToJsonString (const FileMetadata &file_metadata, bool pretty=false)
 Serialize a FileMetadata to a JSON string.
 
Result< FileMetadataiceberg::puffin::FileMetadataFromJsonString (std::string_view json_string)
 Deserialize a FileMetadata from a JSON string.
 

Detailed Description

JSON serialization/deserialization for Puffin file metadata.