Commit Graph

15 Commits

Author SHA1 Message Date
17b0ae9551
provide smithy-based json serialization for request data
All checks were successful
continuous-integration/drone/push Build is passing
This will use the actual structure name or the override
from the trait as needed. Return value support
is also enabled in the code generation but not in
aws.zig. The current fuzzy checks should get most
of the way there though
2021-08-13 10:28:29 -07:00
00b2ab3d27
initial support for json 1.0 2021-08-12 14:24:24 -07:00
079677bb2e
set higher branch quota - describeInstances needs plenty 2021-07-24 00:17:39 -07:00
7dc8e0e938
get all json tests passing with updated zig 0.9.0 (current master)
Key changes:

1. Remove all unused variables (see zig commit cf65ab8)
2. Remove tests requiring other files
3. Specify enum type when providing specific enum values (see zig
commits around 507a8096d)
2021-06-29 14:50:21 -07:00
b2ebc5a621
add snake comparison test 2021-06-23 18:23:56 -07:00
77caa626f0
allow parsing of exponential numbers if they resolve to int 2021-06-23 18:18:42 -07:00
c2e2778d77
missing field support (not sure if we will use this) 2021-06-23 18:18:00 -07:00
3d9490de82
fix snake case comparison
code in the function required found variable to be a real count
for allocation purposes, but it was originally coded as a flag
instead, which broke any field with more than two underscores
2021-06-23 18:16:54 -07:00
da5e58872f
additional option for snake case
This will usually be enabled in conjunction with camelCase, to the degree
that maybe this is a bit confused?
2021-05-13 10:56:14 -07:00
1d10ec3e17
only allocate if mutation is neded 2021-05-13 10:10:12 -07:00
dd5ad72b5a
change import to allow embedding json.zig in this project 2021-05-13 10:05:23 -07:00
e76eb45003
allow camel case conversion for json keys 2021-05-13 10:04:01 -07:00
94266582b7
allow unknown struct fields 2021-05-13 09:03:00 -07:00
c24ef3f3b8
allow unknown non-struct fields 2021-05-13 07:56:43 -07:00
0bafc185c8
add json.zig from std lib. Commit e6881d4373ce355f3f4565c22c125870ed8fcfc8 2021-05-12 17:20:36 -07:00