fpmas 1.5
Static Public Member Functions | List of all members
nlohmann::adl_serializer< fpmas::graph::detail::LocalizedNodeView< T > > Struct Template Reference

#include <clustered_graph_builder.h>

Static Public Member Functions

template<typename JsonType >
static void to_json (JsonType &j, const fpmas::graph::detail::LocalizedNodeView< T > &node)
 
template<typename JsonType >
static fpmas::graph::detail::LocalizedNodeView< T > from_json (const JsonType &j)
 

Detailed Description

template<typename T>
struct nlohmann::adl_serializer< fpmas::graph::detail::LocalizedNodeView< T > >

fpmas::graph::detail::LocalizedNodeView json serializer

Member Function Documentation

◆ to_json()

template<typename T >
template<typename JsonType >
static void nlohmann::adl_serializer< fpmas::graph::detail::LocalizedNodeView< T > >::to_json ( JsonType &  j,
const fpmas::graph::detail::LocalizedNodeView< T > &  node 
)
inlinestatic

Serializes the provided LocalizedNodeView instance into the json j.

Parameters
jjson output
nodeLocalizedNodeView to serialize

◆ from_json()

template<typename T >
template<typename JsonType >
static fpmas::graph::detail::LocalizedNodeView< T > nlohmann::adl_serializer< fpmas::graph::detail::LocalizedNodeView< T > >::from_json ( const JsonType &  j)
inlinestatic

Unserializes a LocalizedNodeView instance from the json j.

Parameters
jjson input
Returns
unserialized LocalizedNodeView

The documentation for this struct was generated from the following file: