This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"results_size": 2, | |
"results": [{ | |
"id": "mon_id", | |
"title": "mon titre", | |
"description" : "Ma description", | |
"image_url" : "https://upload.wikimedia.org/wikipedia/commons/thumb/8/8b/Tata_Group.svg/1200px-Tata_Group.svg.png", | |
"last_update" : 1509364426938, | |
"blob": { | |
"tata" : "toto", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class EqWrap[T <: AnyRef](val value: T) { | |
override def hashCode() = if (value == null) 0 else value.hashCode | |
override def equals(a: Any) = a match { | |
case ref: EqWrap[_] => ref.value eq value | |
case _ => false | |
} | |
} | |
object EqWrap { | |
def apply[T <: AnyRef](t: T) = new EqWrap(t) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Main": { | |
"myimage": { | |
"type": "Image", | |
"config": { | |
"constraint": { | |
"width": null, | |
"height": null | |
}, | |
"thumbnails": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Main" : { | |
"uid" : { | |
"type" : "UID", | |
"config" : { | |
"label" : "uid name", | |
"placeholder" : "uid placeholder" | |
} | |
}, | |
"rich-text" : { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Main" : { | |
"title" : { | |
"fieldset" : "Header", | |
"type" : "StructuredText", | |
"config" : { | |
"single" : "heading1" | |
} | |
}, | |
"summary" : { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Basic Types" : { | |
"uid" : { | |
"type" : "UID", | |
"config" : { | |
"placeholder" : "Unique Document Identifier" | |
} | |
}, | |
"text" : { | |
"type" : "Text", |