Private NativeJSON

49 views
Skip to first unread message

Tim Schaub

unread,
May 30, 2012, 5:05:12 PM5/30/12
to mozill...@googlegroups.com
Hello,

I'm wondering if it is intentional that
org.mozilla.javascript.NativeJSON is private. I was hoping to use the
(public?) strigify method without resorting to a kludge [1]. All of
NativeArray, NativeObject, NativeFunction, etc. are public, so it
would seem to fit to have access to NativeJSON as well.

Thanks,
Tim


[1] http://stackoverflow.com/questions/10288669/access-rhinos-native-json-stringify-from-java

Hannes Wallnöfer

unread,
May 31, 2012, 9:39:46 AM5/31/12
to mozill...@googlegroups.com
No reason I can think of. Fixed in git master branch.

Hannes

2012/5/30 Tim Schaub <tim.s...@gmail.com>:

Tim Schaub

unread,
May 31, 2012, 12:08:40 PM5/31/12
to mozill...@googlegroups.com
On Thu, May 31, 2012 at 7:39 AM, Hannes Wallnöfer <han...@gmail.com> wrote:
> No reason I can think of. Fixed in git master branch.

Very helpful. Thanks.

Tim
Reply all
Reply to author
Forward
0 new messages