Erik Pellizzon
|
1e3fdb0e3d
|
Merge branch 'master' into feat-case-271
|
2022-07-18 12:04:20 +02:00 |
Nao Yonashiro
|
884b8dbf9a
|
refactor: to check for IsDirectedNil only if ifacePtr == nil
|
2022-07-03 22:39:31 +09:00 |
Nao Yonashiro
|
c8d6da88dd
|
fix: confusing nil in direct interface with typed nil
fix #376
|
2022-07-03 06:05:26 +09:00 |
ErikPelli
|
c1b23af63a
|
feat: support automatic camel case field key
Add camel case encoding option
Add camel case key conversion
Add camel case test
|
2022-05-25 16:36:37 +02:00 |
Nao Yonashiro
|
321fe31260
|
feat: add DebugWith option
|
2022-03-25 05:13:32 +09:00 |
Masaaki Goshima
|
f810369f2d
|
Fix encoding of MarshalText operation with head offset
|
2022-01-11 15:11:17 +09:00 |
Masaaki Goshima
|
acc66cf172
|
Fix MarshalIndent for interface type
|
2022-01-04 22:30:16 +09:00 |
Masaaki Goshima
|
6af83d9bdd
|
Refactor encoder
|
2022-01-03 22:42:04 +09:00 |
Masaaki Goshima
|
89bcc3be86
|
Supports dynamic filtering of struct fields
|
2022-01-03 12:33:51 +09:00 |
Masaaki Goshima
|
5418c49bcf
|
Refactor opcode fields
|
2021-12-27 17:50:55 +09:00 |
Masaaki Goshima
|
d8aa8348f4
|
Improve map encoding performance
|
2021-12-27 11:14:42 +09:00 |
Masaaki Goshima
|
f6b4e43f6a
|
Refactor encoder's vm
|
2021-11-28 21:46:32 +09:00 |
Masaaki Goshima
|
e4c458f34c
|
Remove StructAnonymousEnd operation
|
2021-11-28 12:53:18 +09:00 |
Masaaki Goshima
|
d7372a47cd
|
Fix conversion from pointer to uint64
|
2021-10-14 15:00:28 +09:00 |
Nao Yonashiro
|
0065357ebb
|
fix: to avoid panic on untyped nil #290
fix #290
|
2021-09-27 10:55:37 +09:00 |
Masaaki Goshima
|
97c3cf6c55
|
Fix test
|
2021-08-30 13:11:44 +09:00 |
Masaaki Goshima
|
92d8dcd13b
|
Fix encoding of not empty interface type
|
2021-08-30 13:03:14 +09:00 |
Masaaki Goshima
|
104829e78f
|
Fix encoding of embedded struct that isn't first field
|
2021-08-12 13:03:34 +09:00 |
peterlimg
|
ac9a7dd8e3
|
Fix encode issue for embed struct with tag
|
2021-07-20 23:14:26 +10:00 |
Masaaki Goshima
|
66bf979e47
|
Improve encoding performance for empty interface type
|
2021-06-26 15:49:13 +09:00 |
Masaaki Goshima
|
f93d82dee6
|
Fix storeIndent
|
2021-06-25 22:27:00 +09:00 |
Masaaki Goshima
|
994dc9ea9d
|
Fix encoding of empty interface type
|
2021-06-25 20:17:12 +09:00 |
Masaaki Goshima
|
b972a9bab3
|
Fix indent num
|
2021-06-12 22:38:52 +09:00 |
Masaaki Goshima
|
79ccab759f
|
Fix indent num contains recursive type
|
2021-06-12 22:01:45 +09:00 |
Masaaki Goshima
|
4e2a9c06ef
|
Manage option flags as bit variable
|
2021-06-01 13:40:15 +09:00 |
Masaaki Goshima
|
4c19a845d9
|
Support colored JSON
|
2021-06-01 03:09:47 +09:00 |
Masaaki Goshima
|
69cca05981
|
Pass RuntimeContext to the first argument of all append functions
|
2021-06-01 01:36:30 +09:00 |
Masaaki Goshima
|
11437c8556
|
Refactor escape string
|
2021-06-01 01:25:05 +09:00 |
Masaaki Goshima
|
a56c080959
|
Refactor encode option
|
2021-05-31 22:25:33 +09:00 |
Masaaki Goshima
|
7cf15fc56c
|
Fix opcode layout
- Adjust memory layout of the opcode to 128 bytes in a 64-bit environment
|
2021-05-29 14:47:18 +09:00 |
Masaaki Goshima
|
70b93d8963
|
Generate VM source
|
2021-05-19 12:34:40 +09:00 |
Masaaki Goshima
|
aee5d8a6fb
|
Refactor Debug mode for encoding
|
2021-05-18 14:48:13 +09:00 |
Masaaki Goshima
|
f65ffc0449
|
Fix error by linter
|
2021-05-18 14:03:14 +09:00 |
Masaaki Goshima
|
f696453c1b
|
Refactor vm sources for encoding ( use same source )
|
2021-05-18 13:51:57 +09:00 |
Masaaki Goshima
|
fc968c75ee
|
Refactor encoding of marshaler and structEnd
|
2021-05-17 21:08:45 +09:00 |
Masaaki Goshima
|
6ae63e3e61
|
Refactor encoding of structHead and structKey
|
2021-05-17 18:58:59 +09:00 |
Masaaki Goshima
|
87b93ad8a4
|
Fix lint error
|
2021-05-07 01:04:25 +09:00 |
Masaaki Goshima
|
4823e8bed3
|
Add omitempty and string operation for vm
|
2021-05-07 00:53:39 +09:00 |
Masaaki Goshima
|
56dabe2da4
|
Refactor StringTag operation
|
2021-05-06 20:54:22 +09:00 |
Masaaki Goshima
|
7565171124
|
Fix allocation strategy for Compact
|
2021-04-19 18:58:09 +09:00 |
IncSW
|
53590387e6
|
fix OpStructFieldOmitEmptyMarshalJSON with custom type marshaller on all VMs
|
2021-04-12 11:41:31 +03:00 |
Masaaki Goshima
|
69e40becbf
|
Fix encoding of omitempty feature for the slice or interface type
|
2021-04-10 16:25:45 +09:00 |
Masaaki Goshima
|
3d47fc9e41
|
Add debug mode
|
2021-03-27 12:18:19 +09:00 |
Masaaki Goshima
|
2bda5ef91f
|
Fix encoding of MarshalJSON of function type
|
2021-03-22 21:29:16 +09:00 |
Masaaki Goshima
|
b364115cac
|
Add slice test
|
2021-03-21 01:33:13 +09:00 |
Masaaki Goshima
|
906e29acda
|
Optimize wrapped omitempty operation
|
2021-03-20 20:35:44 +09:00 |
Masaaki Goshima
|
ff871cb20d
|
Add bytes test
|
2021-03-19 23:31:29 +09:00 |
Masaaki Goshima
|
e5d855ff42
|
Refactor Recursive optype
|
2021-03-19 15:46:53 +09:00 |
Masaaki Goshima
|
a02cea2c89
|
Fix encoding of marshaler
|
2021-03-18 23:56:56 +09:00 |
Masaaki Goshima
|
d2d7e6d367
|
Fix error by linter
|
2021-03-18 18:31:45 +09:00 |