Reputation: 13830
I am trying to use the JSON library in scala.util.parsing.json
to parse JSON files. I am able to read and parse a JSON file, but how do I combine two JSON files together? (the overlapping values in the second file should over-write the first).
Upvotes: 0
Views: 2830
Reputation: 119
For Scala it is recommended to use liftweb json library. Which is feature rich and more widely accepted JSON library than scala internal one. Merge is available in liftweb json library,
http://olim7t.github.com/liftweb-2.0-release-sxr/net/liftweb/json/Merge.scala.html
Upvotes: 2