On Jun 1, 2010, at 5:44 AM, Jedrzej Nowacki wrote:
Another approach that I found is in JSValueCreateJSONString:
This is a recently-added function, so it’s not surprising that it mistakenly has different design than the older functions. I think it should be changed to use what you called pattern (A).
Would it make sense to change the behavior? The change unifies interface and is binary compatible. It shouldn't break a correct code.
One effect of making the change is that people who tested only with the newer version of JavaScriptCore might depend on the behavior and so be incompatible with older versions of JavaScriptCore. Geoff Garen and Maciej Stachowiak are two other people I’d like to hear from. Both are on vacation and both will be back next week. -- Darin