src/Peach/DF/JsonCodec/StructuralChar.php
public function handle(Context $context)
    {
        $ws = WS::getInstance();
        $ws->handle($context);
        if (!$context->hasNext()) {
            throw $context->createException("Unexpected end of JSON");
        }
        $this->handleChar($context);
        $ws->handle($context);
    }
public function handle(Context $context)
    {
        $ws = WS::getInstance();
        $ws->handle($context);
        if (!$context->hasNext()) {
            throw $context->createException("Unexpected end of JSON");
        }
        $this->handleChar($context);
        $ws->handle($context);
    }
現在の Context から空白および想定される文字を読み込みます.
もしも想定外の文字を検知した場合は DecodeException をスローします.

@param Context $context