Packages

object QueryString extends Object with QueryString

Query String

Annotations
@native() @JSImport("querystring", JSImport.Namespace)
See also

https://nodejs.org/api/querystring.html

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryString
  2. QueryString
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def escape(str: String): String

    The querystring.escape() method performs URL percent-encoding on the given str in a manner that is optimized for the specific requirements of URL query strings.

    The querystring.escape() method performs URL percent-encoding on the given str in a manner that is optimized for the specific requirements of URL query strings.

    The querystring.escape() method is used by querystring.stringify() and is generally not expected to be used directly. It is exported primarily to allow application code to provide a replacement percent-encoding implementation if necessary by assigning querystring.escape to an alternative function.

    str

    the given string to escape

    Definition Classes
    QueryString
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def parse(str: String): Dictionary[String]
    Definition Classes
    QueryString
  18. def parse(str: String, sep: String): Dictionary[String]
    Definition Classes
    QueryString
  19. def parse(str: String, sep: String, eq: String): Dictionary[String]
    Definition Classes
    QueryString
  20. def parse(str: String, sep: String, eq: String, options: QueryDecodeOptions): Dictionary[String]

    The querystring.parse() method parses a URL query string (str) into a collection of key and value pairs.

    The querystring.parse() method parses a URL query string (str) into a collection of key and value pairs.

    str

    The URL query string to parse

    sep

    The substring used to delimit key and value pairs in the query string. Defaults to '&'.

    eq

    The substring used to delimit keys and values in the query string. Defaults to '='.

    options

    The given options

    returns

    a mapping of the key-value pairs

    Definition Classes
    QueryString
  21. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  22. def stringify(obj: Any): String
    Definition Classes
    QueryString
  23. def stringify(obj: Any, sep: String): String
    Definition Classes
    QueryString
  24. def stringify(obj: Any, sep: String, eq: String): String
    Definition Classes
    QueryString
  25. def stringify(obj: Any, sep: String, eq: String, options: QueryEncodeOptions): String

    The querystring.stringify() method produces a URL query string from a given obj by iterating through the object's "own properties".

    The querystring.stringify() method produces a URL query string from a given obj by iterating through the object's "own properties".

    obj

    The object to serialize into a URL query string

    sep

    The substring used to delimit key and value pairs in the query string. Defaults to '&'.

    eq

    The substring used to delimit keys and values in the query string. Defaults to '='.

    options

    The given options

    Definition Classes
    QueryString
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toLocaleString(): String
    Definition Classes
    Object
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. def unescape(str: String): String

    The querystring.unescape() method performs decoding of URL percent-encoded characters on the given str.

    The querystring.unescape() method performs decoding of URL percent-encoded characters on the given str.

    The querystring.unescape() method is used by querystring.parse() and is generally not expected to be used directly. It is exported primarily to allow application code to provide a replacement decoding implementation if necessary by assigning querystring.unescape to an alternative function.

    By default, the querystring.unescape() method will attempt to use the JavaScript built-in decodeURIComponent() method to decode. If that fails, a safer equivalent that does not throw on malformed URLs will be used.

    str

    the given string to unescape

    Definition Classes
    QueryString
  30. def valueOf(): Any
    Definition Classes
    Object
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from QueryString

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped