Skip navigation links
C D E J M S T 

C

com.google.json - package com.google.json
 

D

DEFAULT_NESTING_DEPTH - Static variable in class com.google.json.JsonSanitizer
The default for the maximumNestingDepth constructor parameter.

E

EvalMinifier - Class in com.google.json
Given a string of valid JSON that is going to be parsed via Javascript's eval builtin, tries to reduce the number of bytes sent over the wire by turning it into a Javascript expression that pools constants.
EvalMinifier() - Constructor for class com.google.json.EvalMinifier
 

J

JsonSanitizer - Class in com.google.json
Given JSON-like content, converts it to valid JSON.

M

MAXIMUM_NESTING_DEPTH - Static variable in class com.google.json.JsonSanitizer
The maximum value for the maximumNestingDepth constructor parameter.
minify(String) - Static method in class com.google.json.EvalMinifier
Renders JSON-like content safe for use with Javascript eval.
minify(String, int) - Static method in class com.google.json.EvalMinifier
Same as minify(String), but allows to set custom maximum nesting depth.

S

sanitize(String) - Static method in class com.google.json.JsonSanitizer
Given JSON-like content, produces a string of JSON that is safe to embed, safe to pass to JavaScript's eval operator.
sanitize(String, int) - Static method in class com.google.json.JsonSanitizer
Same as JsonSanitizer.sanitize(String), but allows to set a custom maximum nesting depth.

T

toString() - Method in class com.google.json.JsonSanitizer
 
C D E J M S T 
Skip navigation links

Copyright © 2017 OWASP. All rights reserved.