json-serialization
Here are 201 public repositories matching this topic...
-
Updated
Mar 24, 2022 - Java
Hey folks, thanks for a pretty bad ass library! I'm seeing a 3-3.3x gain when decoding fairly large JSON payloads (40-50MB) as compared stdlib/json-iterator.
Few things in the generated code that struck me as odd are the allocation sizes for slices/maps:
- Slice is set to size 1 initially, values are appended using
append
- Map does not have a default size specified
Instead of this, I
-
Updated
Mar 5, 2022 - C#
-
Updated
Dec 21, 2021 - Scala
-
Updated
Jan 10, 2022 - Ruby
-
Updated
Dec 7, 2019 - Objective-C
-
Updated
Dec 24, 2021 - PHP
-
Updated
Mar 23, 2022 - C++
-
Updated
Feb 19, 2022 - C++
-
Updated
Mar 24, 2022 - Ruby
-
Updated
May 12, 2021 - C#
-
Updated
Aug 15, 2019 - Python
-
Updated
Sep 25, 2019 - C++
We want to implement a custom method with payload key name as metricValues
, but the proper ruby method name should be snake_case.
class MetricPeriodSerializer < Panko::Serializer
attributes :period, :metricValues
def metricValues
[{
'name' => 'metric1',
'value' => object.metric_1
},
{
-
Updated
Mar 14, 2022 - C++
-
Updated
Mar 14, 2022 - C#
-
Updated
Nov 12, 2020 - JavaScript
-
Updated
Mar 12, 2021 - C++
-
Updated
Apr 2, 2018 - JavaScript
-
Updated
Apr 3, 2021 - Kotlin
-
Updated
Mar 4, 2022 - C++
-
Updated
Jan 1, 2021 - Go
Help: Prettier
OK, so there are no tests here to cheat from and I found if I passed in an Int
to the Prettier functions (as the docs currently read to me) they'd both reject it.
This is what I've come up with to get it working, but I figure I've probably taken a detour somewhere:
import qualified Waargonaut.Encode as WE
import qualified Waargonaut.Prettier as WEP
import qualified Waargonaut
-
Updated
Mar 21, 2022 - Scala
-
Updated
Sep 28, 2021 - C#
-
Updated
Sep 2, 2017 - Java
Improve this page
Add a description, image, and links to the json-serialization topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the json-serialization topic, visit your repo's landing page and select "manage topics."
When you want to help with the development of this library, there are plenty of things were you are more than welcome:
Blocked Issues
JSON_DIAGNOSTICS
via CMake when installing the library via Homebrew. If you are familiar with Homebrew, you could fix [the formula](https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/nlohmann-json.