Evolution Suggestion : Managing table fields
Reported by mfryde | March 27th, 2009 @ 11:22 AM
in a json field, one value is a table.
the idea is easely to handle table manipulation in cascading
jruby.
Example :
This is a Json key value :
Recipients:[{"type":"User","id":"205964"}]
we want to be able to manipulate it and get the id 205964.
Comments and changes to this ticket
-

gmarabout (at gmail) March 27th, 2009 @ 03:29 PM
- State changed from new to resolved
Already implemented in cascading.utils. Please use the following ruby wrapper:
def json_flatten(args) paths = args.keys values = args.values parameters = [fields(values), paths.to_java(java.lang.String)].compact Java::CascadingUtilsJsonOperation::JSONFlatten.new(*parameters) end
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป