let's assume that we have this json
{
"Account Informations": {
"User Info": {
"User Name": "Albert Goldstein",
"Date": "03/27/2015 08:35:11",
"Location": "New York, USA"
},
"User": {
"Email": "FlinkIsDifficult@gmail.com",
"Password": "*******"
}
}
}
as a DataStream i want to get another JSON which contains
{
"User": {
"Email": "FlinkIsDifficult@gmail.com",
"Password": "*******"
}
}
also is there any way to parse the document by field ? like get("Email") and it returns "FlinkIsDifficult@gmail.com" ??
thanks :)