toJSON

open override fun toJSON(    linkingFileMap: LinkingFileMap,     hashID: Int,     errorLog: StacksErrorLog,     position: Int,     jsonWriter: JSONWriter)

Create JSON content from implementation.

Parameters

linkingFileMap

The map of all the files in Stacks.

hashID

The hash portion of the id for linking to this element on page.

errorLog
position

The ordered position of the parameter in the method signature.

jsonWriter

The writer used to build the document.