API Docs for: 0.8.0
Show:

JsonBodyParser Class

Provides function to construct the structure needed to display the navigation in the Admin section of the application.

Constructor

JsonBodyParser

()

Item Index

Methods

Methods

getRawData

(
  • cb
)

Retrieves the raw payload data as a string

Parameters:

  • cb Function

parse

(
  • req
  • cb
)

Inherited from BaseBodyParser but overwritten in include/http/parsers/index.js:176

Attempts to parse the request body as JSON content

Parameters:

  • req Request

    The incoming request whose payload should be parsed

  • cb Function

    A callback that taks two parameters: An Error, if occurred and the parsed body content as an object