Re: [Pharo-users] NeoJSON ignore some instance variables

2018-07-25 Thread Sven Van Caekenberghe
> On 25 Jul 2018, at 10:17, Peter Uhnák wrote: > > Hi, > > what is the best way to ignore instance variables when serializing with > NeoJSON? > > I figured out this so far... > > (NeoJSONWriter on: stream) > for: Something > do: [ :mapping | mapping mapInstVars: mapping identif

[Pharo-users] NeoJSON ignore some instance variables

2018-07-25 Thread Peter Uhnák
Hi, what is the best way to ignore instance variables when serializing with NeoJSON? I figured out this so far... (NeoJSONWriter on: stream) for: Something do: [ :mapping | mapping mapInstVars: mapping identifier instVarNames \ #(unwanted) ]; nextPut: aSomething Thanks, Peter