Skip to content
This repository
tree: 2991162cc7
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 336 lines (225 sloc) 4.994 kb

library module: http://marklogic.com/json

Table of Contents

Variables

$newLineRegex

$newLineRegex as 

$analyzeString

$analyzeString as 

$isSupported

$isSupported as 

Functions

parse#2

parse(
    $json as xs:string,
    $enableExtensions as xs:boolean
) as  element(json:json)

Params

  • json as xs:string

  • enableExtensions as xs:boolean

Returns

  • element(json:json)

parse#1

parse(
    $json as xs:string
) as  element(json:json)

Params

  • json as xs:string

Returns

  • element(json:json)

serialize#1

serialize(
    $element as node()
) as  xs:string

Params

  • element as node()

Returns

  • xs:string

serialize#2

serialize(
    $element as node(),
    $jsonPCallback as xs:string?
) as  xs:string

Params

  • element as node()

  • jsonPCallback as xs:string?

Returns

  • xs:string

document#1

document(
    $value as item()
) as  element(json:json)

Params

  • value as item()

Returns

  • element(json:json)

object#1

object(
    $keyValues as item()*
) as  element(json:item)

Params

  • keyValues as item()*

Returns

  • element(json:item)

o#1

o(
    $keyValues as item()*
) as  element(json:item)

Params

  • keyValues as item()*

Returns

  • element(json:item)

object#0

object(
) as  element(json:item)

Returns

  • element(json:item)

o#0

o(
) as  element(json:item)

Returns

  • element(json:item)

array#1

array(
    $items as item()*
) as  element(json:item)

Params

  • items as item()*

Returns

  • element(json:item)

a#1

a(
    $items as item()*
) as  element(json:item)

Params

  • items as item()*

Returns

  • element(json:item)

array#0

array(
) as  element(json:item)

Returns

  • element(json:item)

a#0

a(
) as  element(json:item)

Returns

  • element(json:item)

date#1

date(
    $value as xs:anySimpleType
) as  element(json:item)

Params

  • value as xs:anySimpleType

Returns

  • element(json:item)

xml#1

xml(
    $value as element()
) as  element(json:item)

Params

  • value as element()

Returns

  • element(json:item)

null#0

null(
) as  element(json:item)

Returns

  • element(json:item)

escapeNCName#1

escapeNCName(
    $val as xs:string
) as  xs:string

Params

  • val as xs:string

Returns

  • xs:string

unescapeNCName#1

unescapeNCName(
    $val as xs:string
) as  xs:string

Params

  • val as xs:string

Returns

  • xs:string

castAs#2

castAs(
    $key as xs:string,
    $enableExtensions as xs:boolean
) as  xs:string?

Params

  • key as xs:string

  • enableExtensions as xs:boolean

Returns

  • xs:string?

isSupported#0

isSupported(
) as  xs:boolean

Returns

  • xs:boolean

rangeIndexValues#5

rangeIndexValues(
    $key as xs:string,
    $type as xs:string,
    $query as cts:query?,
    $options as xs:string*,
    $limit as xs:integer?
) as  xs:anyAtomicType*

Params

  • key as xs:string

  • type as xs:string

  • query as cts:query?

  • options as xs:string*

  • limit as xs:integer?

Returns

  • xs:anyAtomicType*

Generated by xquerydoc

Something went wrong with that request. Please try again.