-
Updated
Jun 16, 2021 - Go
serializer
Here are 582 public repositories matching this topic...
-
Updated
Jul 1, 2021 - C#
-
Updated
Jul 1, 2021 - JavaScript
-
Updated
Oct 21, 2020 - C#
-
Updated
Jul 5, 2021 - PHP
-
Updated
Dec 24, 2020 - PHP
-
Updated
Jan 20, 2021 - Java
-
Updated
Jun 30, 2021 - C#
-
Updated
Jun 16, 2021 - Go
-
Updated
Oct 19, 2020
-
Updated
Jun 7, 2021 - JavaScript
-
Updated
Apr 12, 2021 - Ruby
-
Updated
Jun 30, 2021 - JavaScript
-
Updated
Oct 15, 2020 - Java
-
Updated
Jul 4, 2021 - JavaScript
-
Updated
Oct 13, 2020 - Ruby
I've recently come to realize that the 'one-size-fits-all' mega-snippets on marzer.github.io/tomlplusplus aren't necessarily useful for everyone, and I should break them up into smaller sub-examples. I'd be totally happy to accept help with this, though that may be wishful thinking!
-
Updated
Dec 16, 2020 - C++
-
Updated
Jun 30, 2021 - C++
-
Updated
Jul 7, 2021 - C
-
Updated
Jul 7, 2021 - TypeScript
-
Updated
Apr 12, 2021 - C#
-
Updated
Apr 20, 2021 - Go
-
Updated
May 12, 2021 - C#
-
Updated
Jun 13, 2021 - Pascal
-
Updated
May 17, 2021 - C#
-
Updated
Apr 23, 2021 - JavaScript
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
Jul 7, 2021 - Ruby
Improve this page
Add a description, image, and links to the serializer topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the serializer topic, visit your repo's landing page and select "manage topics."
Motivation
It is convenient to be able to iterate over all triples in a
Graph
instance without invokinggraph.triples((None, None, None))
. When working with a small instance ofDataset
, there are occasions where one will want to observe all of the quads in a similar manner.Notes
This is trivial to implement by simply having an introduced
__iter__
method invoke `self.qua