[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [cti-stix] Re: [EXT] [cti-stix] RE: [iep-sig] [cti-stix] RE: STIX 2.1: Adding IEP Framework to STIX 2.1
Alex,
Say for example you build a struct to store the incoming JSON data. Property names with a "-" minus character are prohibited in variable names in code, so this means you can not just unmarshal the incoming JSON and map it to your struct (the property names will not match up). To get this to work you would need to map each JSON property to a property name in the struct. Which just seems silly when you could make the JSON so much more friendly by just prohibiting a "-" dash character.
Bret
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]