Nested JSON Parser


Author
Message
ofir
ofir
Junior Member (54 reputation)Junior Member (54 reputation)Junior Member (54 reputation)Junior Member (54 reputation)Junior Member (54 reputation)Junior Member (54 reputation)Junior Member (54 reputation)Junior Member (54 reputation)Junior Member (54 reputation)
Group: Forum Members
Posts: 4, Visits: 18
Hi I collect logs from the client and I have general data on the session and the device and then I have the log entries.
The question is if there is any way of displaying the metadata (general data) of the JSON? because now it shows me only the log entries... 
This is JSON for example:
{
    "SessionData": {
        "UserId": "1",
        "SessionId": "d6d83d0081c1e1c3b5fcb6b04df685",
        "Username": "admin",
        "ServerURL": "url",
        "ApplicationVersion": "4.16.0",
        "IsOffline": "False",
        "StartSessionTime": "26/02/2024 08:23:49",
        "EndSessionTime": "26/02/2024 08:24:39"
    },
    "DeviceData": {
        "Platform": "Windows",
        "DeviceModel": "System Product Name (System manufacturer)",
        "OSVersion": "Windows 10 (10.0.19045) 64bit",
        "MemoryInfoMB": "31.93945",
        "AppFilesStorageMB": "800",
        "ScreenResolution": "(1230.0, 698.0)",
        "StartBatteryLevel": "-100",
        "EndBatteryLevel": "-100"
    },
    "Entries": [
        {
            "Type": "Internal",
            "Message": "The referenced script (EH_Comp) on this Behaviour is missing!",
            "StackTrace": "",
            "Time": "08:24:17"
        },
        {
            "Type": "Exception",
            "Message": "ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index",
            "StackTrace": "",
            "Time": "08:24:34"
        }
]
}
Reply
LogViewPlus Support
LogViewPlus Support
Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)
Group: Moderators
Posts: 1.2K, Visits: 4.3K
No.  The header data cannot be displayed in another way.  Log entries in LogViewPlus must all follow the same schema.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Login

Explore
Messages
Mentions
Search