Re: [Pharo-users] Provide a mapping for a collection of s in NeoJSON

2016-07-01 Thread Sven Van Caekenberghe
> 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

Re: [Pharo-users] Provide a mapping for a collection of s in NeoJSON

2016-07-01 Thread Offray Vladimir Luna Cárdenas
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

Re: [Pharo-users] Provide a mapping for a collection of s in NeoJSON

2016-07-01 Thread Sven Van Caekenberghe
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

Re: [Pharo-users] Provide a mapping for a collection of s in NeoJSON

2016-07-01 Thread Esteban Lorenzano
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

Re: [Pharo-users] Provide a mapping for a collection of s in NeoJSON

2016-06-30 Thread stepharo
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

Re: [Pharo-users] Provide a mapping for a collection of s in NeoJSON

2016-06-30 Thread Sven Van Caekenberghe
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

Re: [Pharo-users] Provide a mapping for a collection of s in NeoJSON

2016-06-30 Thread PBKResearch
: 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

Re: [Pharo-users] Provide a mapping for a collection of s in NeoJSON

2016-06-30 Thread Bernardo Ezequiel Contreras
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

[Pharo-users] Provide a mapping for a collection of s in NeoJSON

2016-06-30 Thread PBKResearch
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