forked from humanlogio/humanlog
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
114 flatten nested objects (humanlogio#138)
* wip * test(scanner): make a test that reproduces values of KV are wrapped by extra double quotations. * fix(json_handler): remove fmt.Sprintf("%q") and just assign the value * wip(flatten nested object) * chore(scanner test): modify order of require.Equal arguments * test(json handler test): add large number handling test * fix(json handler): fix to handle number fields with json.Number * test(flattend nested objects): compare key-value pairs * test(flattening nested objects): rename test function names more clearly * fix(json handler): set json handler to wrap the string value with double quotation again * test(flattening nested objects): adjust expected result * test(e2e): adjust expecting result * test(flattening nested objects/arrays): add a test that fails * test(flattening nested objects/array): add a test that fails with handle nested arrays * test(json handler/array fields): add a test that fails to get flattened arrays * test(json handler/nested array fields): add a test that fails to get flattened array fields * feat(json handler/flattened array fields): modify json handler to be able to flatten the array fields * feat(json handler): add the default case
Showing
3 changed files
with
266 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters