w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Processing JSON using Pig 0.11.1, source data has carriage returns between JSON objects

Your JSON isn't properly formatted; it needs to be formatted as an array (notice the beginning square brackets and the commas separating key:value "dictionaries":


You can use a tool like JSONLint to validate your JSON.

Edit: notice too you're also missing a colon between "values" and the next { on your second line.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.