Replies: 2 comments
-
I'm not particularly attached to "fake root" and would be happy to change it. It is a play on the I quite like "pseudo-root" as an alternative. As a prefix, Wiktionary defines
What do you think? |
Beta Was this translation helpful? Give feedback.
0 replies
-
That sounds perfectly cromulent! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Are you married to the "fake root?" I don't mean as a concept; as a concept I think it's a great idea. I've had the same situation where I wanted to do something with the root node but could only work with its children off the bat. I think this is also why most JSON files I've seen wrap the data object with a single member outer object, so it can have a name instead of just the anonymous top level root object. So it's a quite useful feature when working with JSON data.
But as far as the name goes, I think from a marketing perspective, there might be more compelling terms. I don't think that "fake root" has the gravitas for the job. :) Of course this is purely a subjective opinion. But here are some possible other terms I'm just throwing out here.
Not a huge deal, but I thought I'd mention it now while I'm thinking of it.
Beta Was this translation helpful? Give feedback.
All reactions