[3.0 Alpha] Compile Error: 'JSON::Token::value' uses undefined class 'Variant'

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Corruptinator
:warning: Old Version Published before Godot 3 was released.

Hello! I was doing alright compiling 3.0 to use the new features despite that it could crash on me at any time, when suddenly the compile doesn’t work anymore and renders out this error result:

godot\core/io/json.h(62): error C2079: 'JSON::Token::value' uses undefined class 'Variant'

scons: *** [modules\gdnative\godot\dictionary.windows.tools.64.obj] Error 2
scons: building terminated because of errors.

Any idea on what is causing this error in the compiler?

:bust_in_silhouette: Reply From: CZHeron

Open the file godot/core/io/json.h
Change the line 33 from #include "variant.h" to this #include "../variant.h" and it should be compiled successfully.