protected JsonWriter property ( String key , Iterable < ? > iterable ) throws IOException { Preconditions . checkArgument ( ! inArray ( ) , "Cannot write a property inside an array." ) ; beginArray ( key ) ; for ( Object o : iterable ) { value ( o ) ; } endArray ( ) ; return this ; }
Writes an iterable with the given key name