Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationDI
      • ApplicationLatte
      • ApplicationTracy
      • CacheDI
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsDI
      • FormsLatte
      • Framework
      • HttpDI
      • HttpTracy
      • MailDI
      • ReflectionDI
      • SecurityDI
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Conventions
      • Drivers
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
      • Traits
    • Reflection
    • Security
    • Tokenizer
    • Utils
  • Tracy
    • Bridges
      • Nette
  • none

Classes

  • Decoder
  • Encoder
  • Entity
  • Neon

Exceptions

  • Exception
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases

Class Decoder

Parser for Nette Object Notation.

Namespace: Nette\Neon
Internal
Located at Neon/Decoder.php
Methods summary
public mixed
# decode( string $input )

Decodes a NEON string.

Decodes a NEON string.

Parameters

$input

Returns

mixed
mixed
Constants summary
boolean PATTERNS
#[' \'\'\'\n (?:(?: [^\n] | \n(?![\t\ ]*+\'\'\') )*+ \n)?[\t\ ]*+\'\'\' | """\n (?:(?: [^\n] | \n(?![\t\ ]*+""") )*+ \n)?[\t\ ]*+""" | \'[^\'\n]*+\' | " (?: \\\\. | [^"\\\\\n] )*+ " '
string PATTERN_DATETIME
#'#\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| ++)\d\d?:\d\d:\d\d(?:\.\d*+)? *+(?:Z|[-+]\d\d?(?::?\d\d)?)?)?\z#A'
string PATTERN_HEX
#'#0x[0-9a-fA-F]++\z#A'
string PATTERN_OCTAL
#'#0o[0-7]++\z#A'
string PATTERN_BINARY
#'#0b[0-1]++\z#A'
boolean SIMPLE_TYPES
#['true'=>'TRUE'
boolean ESCAPE_SEQUENCES
#['t'=>"\t"
boolean BRACKETS
#['['=>']'
Properties summary
public static boolean $patterns

Deprecated

#Nette\Neon\Decoder::PATTERNS
Nette 2.4-20180918 API API documentation generated by ApiGen 2.8.0