[c3typ] use type rather than json

#1

When declaring an object field/parameter, it is better to define a new type to wrap the object rather than using json.

1 Like