13 #pragma managed( push, off ) 46 int nIndex = GetJsonElementIndex( pszName );
54 if (
nullptr == pcJsonPair ) {
74 if (
nullptr == pszName ) {
79 else for (
int nIndex = 0; this->GetCount() > nIndex; ++nIndex ) {
81 CJson* pcJson = ( *this )[ nIndex ];
82 if (
nullptr != pcJson ) {
85 if (
nullptr != pcJsonPair ) {
88 if (
nullptr != pcJsonString ) {
90 wchar_t const* pszString = *pcJsonString;
91 if (
nullptr != pszString ) {
93 if ( 0 == ::wcscmp( pszName, pszString ) ) {
119 if (
nullptr == pcJsonObject ) {
124 else if ( !pcJsonObject->
InputJson( rcStream ) ) {
133 result = pcJsonObject;
141 #pragma managed( pop )
virtual CJsonString * GetJsonString() noexcept override
CJsonObject(CJson *pcParent) noexcept
コンストラクタ
virtual CJsonPair * GetJsonPair() noexcept override
JSONクラスインスタンス取得関数
static CJsonObject * CreateInputJson(CStream &rcStream, CJson *pcParent) noexcept
JSONオブジェクト入力作成関数
virtual bool InputJson(CStream &rcStream) noexcept override
JSONクラス入力関数
virtual int GetJsonElementIndex(wchar_t const *pszName) noexcept
JSONエレメントインデックス取得関数
virtual CJsonPair * GetJsonPair() noexcept