Saturday, 3 January 2015

What a format is this?



i like to know if this is an special common format or just a simple selfgenerated config file:



scenes : {
Scene : {
class : Scene
sources : {
Game Capture : {
render : 1
class : GraphicsCapture
data : {
window : "[duke3d]: Duke Nukem 3D Atomic Edition 1.4.3 STABLE"
windowClass : SDL_app
executable : duke3d.exe
stretchImage : 0
alphaBlend : 0
ignoreAspect : 0
captureMouse : 1
invertMouse : 0
safeHook : 0
useHotkey : 0
hotkey : 123
gamma : 100
}
cx : 1920
cy : 1080
}
}
}
}


My background is, that i like to read in multiple files like this one above. And i don't like to implement a hole new parser for this. That's why i want to fall back on java libraries which have allready implemented this feature. But without being aware of such code formats, it's quite difficult to search for this libraries. :D


thx in advance


No comments:

Post a Comment