Overview

Namespaces

  • Docta
    • MercadoLibre
      • Exception
      • OAuth2
        • Client
          • Test
  • GuzzleHttp
    • Cookie
    • Exception
    • Handler
    • Promise
      • Test
      • Tests
    • Psr7
    • Test
      • Handler
    • Tests
      • CookieJar
      • Event
      • Exception
      • Handler
      • Promise
      • Psr7
  • League
    • OAuth2
      • Client
        • Grant
          • Exception
        • Provider
          • Exception
        • Test
          • Grant
          • Provider
            • Exception
            • Fake
          • Token
          • Tool
        • Token
        • Tool
  • None
  • Psr
    • Http
      • Message

Classes

  • Client
  • HandlerStack
  • MessageFormatter
  • Middleware
  • Pool
  • PrepareBodyMiddleware
  • RedirectMiddleware
  • RequestOptions
  • RetryMiddleware
  • TransferStats
  • UriTemplate

Interfaces

  • ClientInterface

Functions

  • choose_handler
  • debug_resource
  • default_ca_bundle
  • default_user_agent
  • describe_type
  • headers_from_lines
  • is_host_in_noproxy
  • json_decode
  • json_encode
  • normalize_header_keys
  • uri_template
  • Overview
  • Namespace
  • Function
  • Download

Function json_decode

Wrapper for json_decode that throws when an error occurs.

Namespace: GuzzleHttp
Link: http://www.php.net/manual/en/function.json-decode.php
Located at src/functions.php
Parameters summary
string $json JSON data to parse
boolean $assoc = false <p>When true, returned objects will be converted into associative arrays.</p>
integer $depth = 512 User specified recursion depth.
integer $options = 0 Bitmask of JSON decode options.
Return value summary
mixed mixed
Thrown exceptions summary
InvalidArgumentException if the JSON cannot be decoded.
MercadoLibre PHP SDK API documentation generated by ApiGen