mirror of
https://github.com/yacy/yacy_search_server.git
synced 2025-04-18 18:18:49 -04:00
Added also an example for one of the existing APIs. The problem is the comma separator between objects which must not be there for the last entry in a sequence. The new syntax adds the separator symbol automatically.
7 lines
222 B
JSON
7 lines
222 B
JSON
{
|
|
"edges" : "#[edges]#",
|
|
"maxdepth" : "#[maxdepth]#",
|
|
"graph" : [#{edges|,}#
|
|
{"source":"#[source]#", "target":"#[target]#", "type":"#[type]#", "depthSource":"#[depthSource]#", "depthTarget":"#[depthTarget]#"}
|
|
#{/edges}#]
|
|
} |