src/POData/Writers/Json/JsonWriter.php
/**
     * Write the name for the object property
     * 
     * @param string $name name of the object property
     * 
     * @return JsonWriter
     */
Write the name for the object property

@param string $name name of the object property


Write the name for the object property @param string $name name of the object property
public function writeName($name)
    {
        $currentScope = end($this->_scopes);
        if ($currentScope && $currentScope->type == $this->_scopeType['Object']) {
            if ($currentScope->objectCount != 0) {
                $this->_writer->writeTrimmed(", ");
            }
            $currentScope->objectCount++;
        }
        $this->_writeCore($name, true );
        $this->_writer->writeTrimmed(": ");
	    return $this;
    }
public function writeName ( $ name ) { $ currentScope = end ( $ this -> _scopes ) ; if ( $ currentScope && $ currentScope -> type == $ this -> _scopeType [ 'Object' ] ) { if ( $ currentScope -> objectCount != 0 ) { $ this -> _writer -> writeTrimmed ( " ,  " ) ; } $ currentScope -> objectCount ++ ; } $ this -> _writeCore ( $ name , true ) ; $ this -> _writer -> writeTrimmed ( " :  " ) ; return $ this ; }
Write the name for the object property
Write the name for the object property
/*quotes*/