Search:

Type: Posts; User: Sitten Spynne

Search: Search took 0.06 seconds.

  1. Replies
    15
    Views
    1,413

    Re: Trying to declare Same name classes

    Well, that's why I started with "JSON doesn't specify type names". You generally can name your objects whatever you want because JSON parsers only look at properties. You can configure some parsers...
  2. Replies
    15
    Views
    1,413

    Re: Trying to declare Same name classes

    What I mean is what I talked about earlier, you can create a name ambiguity.

    The reason my "Form" example is immediately aggravating is VB automatically imports System.Windows.Forms into every...
  3. Replies
    15
    Views
    1,413

    Re: Trying to declare Same name classes

    This can be a bad choice still, though.

    For example, try creating a project with a class named "Form", and see how fun that is ;)
  4. Replies
    15
    Views
    1,413

    Re: Trying to declare Same name classes

    Names don't matter when you are parsing JSON. JSON represents "objects", and in the JavaScript sense of that word there aren't really "classes" with "names".

    Why do you believe the names matter? ...
  5. Replies
    15
    Views
    1,413

    Re: Trying to declare Same name classes

    This is not possible because if you have 2 classes AND a namespace all with the same name, you can create scenarios where it's mathematically impossible for the compiler to understand which of the 3...
Results 1 to 5 of 5



Click Here to Expand Forum to Full Width