1. 09 2月, 2013 1 次提交
  2. 06 2月, 2013 4 次提交
  3. 03 3月, 2011 2 次提交
  4. 13 2月, 2010 1 次提交
  5. 26 11月, 2009 2 次提交
    • D
      Detatch and Remove objects from Arrays/Objects. · 79a796ae
      Dave Gamble 提交于
      
      git-svn-id: http://svn.code.sf.net/p/cjson/code@21 e3330c51-1366-4df0-8b21-3ccf24e3d50e
      79a796ae
    • D
      Feature Request: 2903802. · 29b085bc
      Dave Gamble 提交于
      If you need to add an existing cJSON to a new object, but the existing object
      must not be affected by this, use cJSON_AddItemReferenceTo<Array|Object>.
      
      This will make a "reference" to the existing object (which is what you really mean to do),
      and allow you to use it with a new object without fear of names being corrupted or things
      being deleted.
      
      Think of it like a reference, since that's pretty much what it is.
      If you modify the resulting object (i.e. you AddItemReference, then retrieve with GetObjectItem,
      and then start adding/replacing) you'll modify the object you pass in (in other words, this
      doesn't clone everything, since that would probably end up being wasteful of space), however,
      if you add it, and treat it as if it were const, everything will be fine!
       
      
      
      git-svn-id: http://svn.code.sf.net/p/cjson/code@20 e3330c51-1366-4df0-8b21-3ccf24e3d50e
      29b085bc
  6. 25 11月, 2009 1 次提交
  7. 11 11月, 2009 2 次提交
  8. 29 10月, 2009 1 次提交
  9. 26 8月, 2009 2 次提交