Package mastermicro.topologies.io
Interface JSONSerializable
- All Known Implementing Classes:
Component
,ComponentParameter
,NMOSTransistor
,Resistor
,Topology
public interface JSONSerializable
-
Method Summary
Modifier and TypeMethodDescriptionorg.json.JSONObject
toJSON()
Serialize the java Object to a JSONObject type which will be converted to JSON string with `JSONObject.toString(int indent)`.
-
Method Details
-
toJSON
org.json.JSONObject toJSON()Serialize the java Object to a JSONObject type which will be converted to JSON string with `JSONObject.toString(int indent)`.- Returns:
- the json obejct that represent the java object.
-