July 25, 2018
8:25 a.m.
On 25 Jul 2018, at 10:17, Peter Uhnák <i.uhnak@gmail.com> 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 identifier instVarNames \ #(unwanted) ]; nextPut: aSomething
Thanks, Peter
That is a better and more beautiful way to do it then I would have come up with myself ;-)