Best way to create multiple JSON Elements?

Oliver: Thanks! This is such great stuff.

The Collection classes were available in Java before I left, but I was largely inexperienced with them. We were developing using the NS Foundation framework and so I was always reaching for NSMutableArray, NSMutableDictionary, etc.

@others: Apologies for going a little on a tangent here. Memory lane was calling to me...

1 Like

Cool!

Briefly continuing our tangent here, Java 8 introduced processing Collection classes using Streams with its optional declarative (non-iterative) model. Whenever possible, I do not "iterate" over collection classes.

Here's one site that shows those enhancements:
Process Collections Easily With Stream in Java 8 - DZone Java

Thanks Steve!

(SET NERDMODE OFF)

@others thanks for your patience with our brief nerd-out here... LOL.

1 Like