> On 16 Dec 2016, at 15:10, stepharong <stephar...@free.fr> wrote:
> 
> I looked at the Neo code and I do not see how I can specify a mapping at the 
> class level
> because I cannot control the json writer creation.

See my previous message (sent at the same time ;-) 

<< add it to the class side of your model objects as #neoJsonMapping: (search 
for implementors as examples). >>

> So I should probably shortcut everything at the neoJsonOn: level.
> 
> Stef
> 
> 
>> Hi sven
>> 
>> I'm trying to adapt the teapot library example to get a simple item 
>> collector (as a project for a future book) and
>> so that I can learn and use it for my PS2/PS3 game collection :)
>> 
>> Now when I set up teapot to emit JSON I get an NeoJSONMappingNotFound
>> In the library example attila does not manipulate objects but dictionaries.
>> So I imagine that I have to do something :)
>> I read the NeoJSON chapter but I did not find the solution.
>> 
>> Should I implement
>>      neoJsonOn:
>> on my domain?
>> 
>> Stef
>> 
> 
> 
> -- 
> Using Opera's mail client: http://www.opera.com/mail/
> 


Reply via email to