you make have a look at the JSDataLoader class in
MCHttpRepository
location: 'http://smalltalkhub.com/mc/LeonardoHumberto/JSClasses/main'
user: ''
password: ''
look at the methods in the visiting protocol
They are used to visit a JSON data structure.
This is a work by Leornardo (PhD student from Minas Gerais Brasil) and
myself
nicolas
On 05/02/2015 20:41, Sebastian Heidbrink wrote:
Hi,
I man ot sure if this is the right lists to ask such question please
let me know if there is a better one.
I am currently working my self through the moose book and Glamour
chapter.
I have a REST interface here that I would like to test and analyze via
Moose.
I have a json specification of all the apis available.
So using a JSON parser in Pharo creates a Array/Dictionary based model
representation.
I wonder how you go from there? Do you implement the whole data model
in Pharo to have a nice NeoJSON support? Is there already a package
that genreates Smaltlak classes from Dictionaries?
Is there a tool the create MSE files from JSON?
Or are you just working with these Array/Dictionary structures?
I currently just try to learn to use the Glamour Editor and try to
represent the API in a useful way.
Any hint, link or advice is very welcome
Thanks
Sebastian
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev