Returns the MIME type for a request or response that uses JSON.

This viper method also supports the extension viper syntax.

Syntax

Smartsite SXML CopyCode image Copy Code
string this.mimetype()

Extension Viper Syntax

Smartsite SXML CopyCode image Copy Code
string page.<id>.mimetype()

Parameters

This Viper method does not expose any parameters.

Return Value

Data Type Description
String Application/json

Used in

Macro Description
Json The JSON macro can parse a JSON string. It exposes properties to query the resulting object and methods to modify it.

Expand image Example

SXML