-
Updated
Aug 17, 2021 - Go
serializer
Here are 598 public repositories matching this topic...
-
Updated
Aug 22, 2021 - C#
-
Updated
Aug 18, 2021 - JavaScript
-
Updated
Oct 21, 2020 - C#
-
Updated
Aug 25, 2021 - PHP
-
Updated
Dec 24, 2020 - PHP
-
Updated
Jan 20, 2021 - Java
-
Updated
Aug 18, 2021 - C#
-
Updated
Aug 24, 2021 - Go
-
Updated
Oct 19, 2020
-
Updated
Aug 10, 2021 - JavaScript
-
Updated
Jul 20, 2021 - Ruby
-
Updated
Aug 18, 2021 - JavaScript
-
Updated
Oct 15, 2020 - Java
-
Updated
Jul 22, 2021 - JavaScript
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
Oct 13, 2020 - Ruby
-
Updated
Aug 26, 2021 - TypeScript
-
Updated
Jun 30, 2021 - C++
-
Updated
Dec 16, 2020 - C++
-
Updated
Aug 26, 2021 - C
-
Updated
Apr 12, 2021 - C#
-
Updated
Apr 20, 2021 - Go
-
Updated
Aug 22, 2021 - Pascal
-
Updated
May 12, 2021 - C#
-
Updated
May 17, 2021 - C#
-
Updated
Aug 24, 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
Aug 25, 2021 - Java
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