Extracted at 2014-06-26.
pike.ida.liu.se
[Top]
Tools
Tools.JSON
Tools.JSON.JSONTokener

Method Tools.JSON.JSONTokener()->unescape()


Method unescape

string unescape(string|void s)

Description

Unescape the source text. Convert %hh sequences to single characters, and convert plus to space. There are Web transport systems that insist on doing unnecessary URL encoding. This provides a way to undo it.

Convert %hh sequences to single characters, and convert plus to space.

Parameter s

A string that may contain plus and %hh sequences.

Returns

The unescaped string.