KiCad PCB EDA Suite
Loading...
Searching...
No Matches
RC_JSON Namespace Reference

Contains the json serialization structs for DRC and ERC reports If you are trying to change the output schema Please update the schemas located in /resources/schemas/ as both documentation and use by end user implementations. More...

Classes

struct  AFFECTED_ITEM
 
struct  COORDINATE
 
struct  DRC_REPORT
 
struct  ERC_REPORT
 
struct  REPORT_BASE
 
struct  VIOLATION
 

Functions

void to_json (nlohmann::json &aJson, const VIOLATION &aViolation)
 
void from_json (const nlohmann::json &aJson, VIOLATION &aViolation)
 
 NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE (DRC_REPORT, $schema, source, date, kicad_version, violations, unconnected_items, schematic_parity, coordinate_units) struct ERC_SHEET
 

Detailed Description

Contains the json serialization structs for DRC and ERC reports If you are trying to change the output schema Please update the schemas located in /resources/schemas/ as both documentation and use by end user implementations.

Function Documentation

◆ from_json()

void RC_JSON::from_json ( const nlohmann::json &  aJson,
VIOLATION aViolation 
)
inline

◆ NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE()

RC_JSON::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE ( DRC_REPORT  ,
  $schema,
source  ,
date  ,
kicad_version  ,
violations  ,
unconnected_items  ,
schematic_parity  ,
coordinate_units   
)

Definition at line 99 of file rc_json_schema.h.

References path.

◆ to_json()

void RC_JSON::to_json ( nlohmann::json &  aJson,
const VIOLATION aViolation 
)
inline