public override object GetJsonFragment(object @object)
        {
            var item = JsonFieldGetterHelperSchema.GetJsonIndexedProp(@object, _field.PropertyName, Index);
            if (item == null) {
                return null;
            }

            return InnerGetter.GetJsonFragment(item);
        }
예제 #2
0
        public override object GetJsonFragment(object @object)
        {
            var value = JsonFieldGetterHelperSchema.GetJsonSimpleProp(_field, @object);
            if (value == null) {
                return null;
            }

            return InnerGetter.GetJsonFragment(value);
        }
예제 #3
0
        public override object GetJsonFragment(object @object)
        {
            var item = JsonFieldGetterHelperProvided.GetJsonProvidedIndexedProp(@object, field, Index);
            if (item == null) {
                return null;
            }

            return InnerGetter.GetJsonFragment(item);
        }
예제 #4
0
        public override object GetJsonFragment(object @object)
        {
            var value = JsonFieldGetterHelperProvided.GetJsonProvidedSimpleProp(@object, field);
            if (value == null) {
                return null;
            }

            return InnerGetter.GetJsonFragment(value);
        }