1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 02:17:05 +00:00

examples: write-rest: json: usage of the Secure, ASCII and UnescapeHTML fields

This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-09-01 13:28:21 +03:00
parent c7157f1c92
commit fec6783a22
3 changed files with 58 additions and 6 deletions

View File

@@ -76,6 +76,10 @@ type (
//
// It is an alias of the `context#JSON` type.
JSON = context.JSON
// JSONP the optional settings for JSONP renderer.
//
// It is an alias of the `context#JSONP` type.
JSONP = context.JSONP
// ProtoMarshalOptions is a type alias for protojson.MarshalOptions.
ProtoMarshalOptions = context.ProtoMarshalOptions
// ProtoUnmarshalOptions is a type alias for protojson.UnmarshalOptions.