Skip to content

Parsing Complex JSON Files with Scala Using Spray-Json

Notifications You must be signed in to change notification settings

drizham/parse_json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example of using the Scala spray-json parser to parse a complex JSON structure

From: https://github.com/spray/spray-json

The first sample1.json file shows an instance of the event as denoted by "EventId".

The second sample2.json file has sample of two elements as an array.

  • sample1.json sample json file with only one element

  • sample2.json made up sample json file with more than one element (array)

Use this online JSON editor to view the sample JSON files: http://www.jsoneditoronline.org

To run the code use git clone to clone this project, navigate to the folder and excute the command:

sbt compile run

About

Parsing Complex JSON Files with Scala Using Spray-Json

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages