KiCad PCB EDA Suite
nlohmann::adl_serializer< wxString > Struct Reference

#include <pcm_data.h>

Static Public Member Functions

static void to_json (json &j, const wxString &s)
static void from_json (const json &j, wxString &s)

Detailed Description

Definition at line 155 of file pcm_data.h.

Member Function Documentation

◆ from_json()

static void nlohmann::adl_serializer< wxString >::from_json ( const json j,
wxString &  s 

Definition at line 159 of file pcm_data.h.

160 {
161 s = wxString::FromUTF8( j.get<std::string>().c_str() );
162 }

◆ to_json()

static void nlohmann::adl_serializer< wxString >::to_json ( json j,
const wxString &  s 

Definition at line 157 of file pcm_data.h.

157{ j = s.ToUTF8(); }

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