Adding Structured mode support.
Pre-release
Pre-release
Use via the new top-level yaml header: Mode: structured
Mode: structured
ContextAttributes:
specversion: 1.0
type: com.example.someevent
id: 4321-4321-4321
source: /mycontext/subcontext
Or
cloudevents send http://localhost:8080/ --id 321-cba --source cloudevents.conformance.tool --type foo.json --mode structured --data='{"hello":"world"}'
The data parsing in structured mode is very basic.