MMerge

org.jsonschematools.merging.MMerge
object MMerge

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
MMerge.type

Members list

Value members

Concrete methods

def merge(val1: JValue, val2: JValue): JValue

This function takes two JSON values as input and returns a merged JSON value. It uses pattern matching to handle different combinations of JSON values.

This function takes two JSON values as input and returns a merged JSON value. It uses pattern matching to handle different combinations of JSON values.

Value parameters

val1

the first JSON value to merge

val2

the second JSON value to merge

Attributes

Returns

the merged JSON value