Answer the question
In order to leave comments, you need to log in
What is the format and how can it be parsed?
s = {
id = "01F6B468-0192-4EA8-BA36-6D023B58E8E7",
internalName = "Test",
title = "Test config",
type = "Develop",
value = {
settings = {
AutoLateralCA = 0,
Blacks2012 = 100,
BlueHue = 0,
BlueSaturation = -100,
CameraProfile = "Camera Standard",
ChromaticAberrationB = 0,
ChromaticAberrationR = 0,
Clarity2012 = 30,
ColorNoiseReduction = 25,
ColorNoiseReductionDetail = 50,
ColorNoiseReductionSmoothness = 50,
Contrast2012 = 55,
ConvertToGrayscale = false,
Defringe = 0,
DefringeGreenAmount = 0,
DefringeGreenHueHi = 60,
DefringeGreenHueLo = 40,
DefringePurpleAmount = 0,
DefringePurpleHueHi = 70,
DefringePurpleHueLo = 30,
EnableCalibration = true,
EnableColorAdjustments = true,
EnableDetail = true,
EnableEffects = true,
EnableLensCorrections = true,
EnableSplitToning = true,
Exposure2012 = -0.96,
GrainAmount = 9,
GrainFrequency = 50,
GrainSize = 25,
GreenHue = 100,
GreenSaturation = 70,
Highlights2012 = -66,
HueAdjustmentAqua = 8,
HueAdjustmentBlue = 0,
HueAdjustmentGreen = -100,
HueAdjustmentMagenta = -5,
HueAdjustmentOrange = 5,
HueAdjustmentPurple = 0,
HueAdjustmentRed = -3,
HueAdjustmentYellow = -100,
LuminanceAdjustmentAqua = 0,
LuminanceAdjustmentBlue = 0,
LuminanceAdjustmentGreen = 0,
LuminanceAdjustmentMagenta = 0,
LuminanceAdjustmentOrange = 76,
LuminanceAdjustmentPurple = 0,
LuminanceAdjustmentRed = 0,
LuminanceAdjustmentYellow = 17,
LuminanceNoiseReductionContrast = 0,
LuminanceNoiseReductionDetail = 50,
LuminanceSmoothing = 0,
ParametricDarks = 0,
ParametricHighlightSplit = 75,
ParametricHighlights = 0,
ParametricLights = 0,
ParametricMidtoneSplit = 50,
ParametricShadowSplit = 25,
ParametricShadows = 0,
PostCropVignetteAmount = -26,
PostCropVignetteFeather = 100,
PostCropVignetteHighlightContrast = 0,
PostCropVignetteMidpoint = 10,
PostCropVignetteRoundness = -9,
PostCropVignetteStyle = 1,
ProcessVersion = "6.7",
RedHue = 20,
RedSaturation = 98,
Saturation = -55,
SaturationAdjustmentAqua = -9,
SaturationAdjustmentBlue = 18,
SaturationAdjustmentGreen = -52,
SaturationAdjustmentMagenta = 0,
SaturationAdjustmentOrange = 12,
SaturationAdjustmentPurple = 0,
SaturationAdjustmentRed = -98,
SaturationAdjustmentYellow = 48,
ShadowTint = -56,
Shadows2012 = 100,
SharpenDetail = 65,
SharpenEdgeMasking = 0,
SharpenRadius = 1.3,
Sharpness = 38,
SplitToningBalance = 60,
SplitToningHighlightHue = 84,
SplitToningHighlightSaturation = 19,
SplitToningShadowHue = 210,
SplitToningShadowSaturation = 16,
Temperature = 7213,
Tint = 77,
ToneCurveName2012 = "Custom",
ToneCurvePV2012 = {
0,
25,
39,
45,
64,
70,
178,
196,
212,
214,
255,
240,
},
ToneCurvePV2012Blue = {
0,
0,
255,
255,
},
ToneCurvePV2012Green = {
0,
7,
67,
67,
194,
197,
255,
241,
},
ToneCurvePV2012Red = {
1,
5,
58,
65,
255,
255,
},
Vibrance = 34,
VignetteAmount = 0,
VignetteMidpoint = 50,
WhiteBalance = "Custom",
Whites2012 = 40,
},
uuid = "E812974B-69D9-42C8-A476-02A8C44784BE",
},
version = 0,
}
Answer the question
In order to leave comments, you need to log in
Offhand, this is neither JSON, nor any syntax of the language familiar to me. Although... Maybe Lua, but I'm not sure.
And if you don’t want to run Lua, then try looking towards SAX parsers, they can quickly parse any structure
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question