I have an issue...
I rapidjson library PushBack (GenericValue &value, Allocator &allocator)
is add element to last index of array.
I want to add object at particular index in rapidjson.
please help me for this
好吧,在rapidjson,AFAIK中没有这样的方法。
你有几个选择:
PopBack
),然后在将新元素插入到必要的索引处时将它们推回。