Re: Iterate over Json

2016-12-01 Thread Gary Pamparà
All depends on what the "first level" means. You can still use fold and
then don't recurse?

On Thu, 1 Dec 2016 at 13:07 Robson Roberto Souza Peixoto <
robsonpeix...@gmail.com> wrote:

> I just need the first level. I need to ignite all objects e transform
> array in string. Is possible to iterate only the first level ?
> On Thu, 1 Dec 2016 at 06:19 Gary Pamparà  wrote:
>
> You can use the Json#fold function and some kind of recursive call to
> build the java lib representation
>
> On Thu, 1 Dec 2016 at 08:33 Robson Peixoto 
> wrote:
>
> I'd like to convert an *argonaut* Json to another Json implementation. I
> need to do it, because it is a legacy lib developed in Java.
> And this json is dynamic. I do not know the possible values in the Json.
>
> How can I iterate it?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "argonaut-json" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to argonaut-json+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> Robson Roberto Souza Peixoto
> Robinho
> Master in Computer Science, University of Campinas
> IRC: robsonpeixoto
> Twitter: http://twitter.com/robinhopeixoto
> github: https://github.com/robsonpeixoto
>

-- 
You received this message because you are subscribed to the Google Groups 
"argonaut-json" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to argonaut-json+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Iterate over Json

2016-12-01 Thread Robson Roberto Souza Peixoto
I just need the first level. I need to ignite all objects e transform array
in string. Is possible to iterate only the first level ?
On Thu, 1 Dec 2016 at 06:19 Gary Pamparà  wrote:

> You can use the Json#fold function and some kind of recursive call to
> build the java lib representation
>
> On Thu, 1 Dec 2016 at 08:33 Robson Peixoto 
> wrote:
>
> I'd like to convert an *argonaut* Json to another Json implementation. I
> need to do it, because it is a legacy lib developed in Java.
> And this json is dynamic. I do not know the possible values in the Json.
>
> How can I iterate it?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "argonaut-json" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to argonaut-json+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
Robson Roberto Souza Peixoto
Robinho
Master in Computer Science, University of Campinas
IRC: robsonpeixoto
Twitter: http://twitter.com/robinhopeixoto
github: https://github.com/robsonpeixoto

-- 
You received this message because you are subscribed to the Google Groups 
"argonaut-json" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to argonaut-json+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Iterate over Json

2016-12-01 Thread Gary Pamparà
You can use the Json#fold function and some kind of recursive call to build
the java lib representation

On Thu, 1 Dec 2016 at 08:33 Robson Peixoto  wrote:

> I'd like to convert an *argonaut* Json to another Json implementation. I
> need to do it, because it is a legacy lib developed in Java.
> And this json is dynamic. I do not know the possible values in the Json.
>
> How can I iterate it?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "argonaut-json" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to argonaut-json+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"argonaut-json" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to argonaut-json+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.