If I have Json below:
{
"ScriptMethod": [
{
"Address": 10000000,
"Name": "Interop.ErrorInfo$$.ctor",
"Signature": "void Interop_ErrorInfo___ctor (Interop_ErrorInfo_o __this, int32_t errno, const MethodInfo* method);",
"TypeSignature": "viii"
},
{
"Address": 20000000,
"Name": "Interop.ErrorInfo$$.ctor",
"Signature": "void Interop_ErrorInfo___ctor (Interop_ErrorInfo_o __this, int32_t error, const MethodInfo* method);",
"TypeSignature": "viii"
},
{
"Address": 30000000,
"Name": "Interop.ErrorInfo$$get_Error",
"Signature": "int32_t Interop_ErrorInfo__get_Error (Interop_ErrorInfo_o __this, const MethodInfo* method);",
"TypeSignature": "iii"
},
{
"Address": 40000000,
"Name": "Interop.ErrorInfo$$get_RawErrno",
"Signature": "int32_t Interop_ErrorInfo__get_RawErrno (Interop_ErrorInfo_o __this, const MethodInfo* method);",
"TypeSignature": "iii"
},
{
"Address": 50000000,
"Name": "Interop.ErrorInfo$$GetErrorMessage",
"Signature": "System_String_o* Interop_ErrorInfo__GetErrorMessage (Interop_ErrorInfo_o __this, const MethodInfo* method);",
"TypeSignature": "iii"
},
{
"Address": 60000000,
"Name": "Interop.ErrorInfo$$ToString",
"Signature": "System_String_o* Interop_ErrorInfo__ToString (Interop_ErrorInfo_o __this, const MethodInfo* method);",
"TypeSignature": "iii"
}
}
}
How can I get Address above as a List or Array or anything, then
If I have given number 33000000
How can I compare my given number with the list of Address, then find closest number below my given number
I mean, I want the result to be 30000000