Returns the value as Integer (Int64) from the primitive
You can check if the value is actually Integer by reading the IsInteger property
JSONPrimitive Class