> On 01 Jul 2016, at 00:56, Sven Van Caekenberghe wrote:
>
> However, I also think that it might be possible to solve the ordering
> requirement with a regular mapping, provided I make a little internal change
> - I will investigate that and report back.
I committed the following (#bleedingEd
a mapping for a collection of s
in NeoJSON
Peter,
i had the same issue, i couldn't find the way to do it, but i hack my own
writing like this
NDBFood>>neoJsonOn: neoJSONWriter
"custom writing"
neoJSONWriter
discovered OrderedDictionary for the first time. I am pleased to see
>>>> that this is the key to the solution.
>>>> Peter
>>>> From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf
>>>> Of Bernardo Ezequiel Contr
st time. I am pleased to see
>>> that this is the key to the solution.
>>> Peter
>>> From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf
>>> Of Bernardo Ezequiel Contreras
>>> Sent: 30 June 2016 16:17
>>> To: Any question abo
solution.
Peter
From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of Bernardo Ezequiel Contreras
Sent: 30 June 2016 16:17
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] Provide a mapping for a collection of s
in NeoJSON
Peter,
i had the same
Bernardo Ezequiel Contreras
> Sent: 30 June 2016 16:17
> To: Any question about pharo is welcome
> Subject: Re: [Pharo-users] Provide a mapping for a collection of
> s in NeoJSON
>
> Peter,
> i had the same issue, i couldn't find the way to do it, but i hack my
: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of
Bernardo Ezequiel Contreras
Sent: 30 June 2016 16:17
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] Provide a mapping for a collection of s
in NeoJSON
Peter,
i had the same issue, i couldn't fin
Peter,
i had the same issue, i couldn't find the way to do it, but i hack my own
writing like this
NDBFood>>neoJsonOn: neoJSONWriter
"custom writing"
neoJSONWriter
writeMap:
(OrderedDictionary new
add: 'ndb_no' -> ndbno;
add: 'full_name' -> name;
add: 'food_group' -> fg;
add: 'factors' -> self
Hello
I have recently used NeoJSON for the first time. All went pretty well, but I
would like to make a small tweak to the output, which probably involves
defining a mapping. I have read through the information in the NeoJSON pdf,
and also looked at the class comments, but I am a bit lost. Cou