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 149 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 153 of file pcm_data.h.

154 {
155 s = wxString::FromUTF8( j.get<std::string>().c_str() );
156 }

◆ to_json()

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

Definition at line 151 of file pcm_data.h.

151{ j = s.ToUTF8(); }

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