[Cuis-dev] JSON encoding and decoding

Mariano Montone marianomontone at gmail.com
Sun Jun 16 17:26:45 PDT 2024


El 16/6/24 a las 20:25, Mark Volkmann escribió:
> The WebClient package can generate JSON from a Dictionary.
> Does Cuis provide a method that generates a Dictionary from the 
> instance properties of an arbitrary Object?
> I looked for a method in Object or Dictionary that does that 
> conversion and couldn't find one.

I believe there's no such method. Try to implement it yourself. Look at 
#allInstVarNames and #instVarNamed: .

If you fail, let me know and I will give it a try.




More information about the Cuis-dev mailing list