Clear and concise description of the problem
Short version:
model MyModel {
@encode(string, ",")
terms: string[];
}
would match this JSON:
and produce SDK like:
class Data:
synonyms: List[str]
Which will tell the serializer deserializer to use csv, for instance a,b,c. Delimiter is the second parameter. We may decide to accept it only on list of strings for now (refuse int[])
Kwown separator: \n, | and ,
Checklist
Clear and concise description of the problem
Short version:
would match this JSON:
{ "synomyms": "a,b,c" }and produce SDK like:
Which will tell the serializer deserializer to use csv, for instance
a,b,c. Delimiter is the second parameter. We may decide to accept it only on list of strings for now (refuseint[])Kwown separator:
\n,|and,Checklist