encode method
Implementation
void encode(KeyedArchive json) {
super.encode(json);
json.encode("description", description);
if (type == APIType.array) {
json.encodeObject("items", items);
}
}
void encode(KeyedArchive json) {
super.encode(json);
json.encode("description", description);
if (type == APIType.array) {
json.encodeObject("items", items);
}
}