public string GetJsonString() { try { return(JsonObject.OpenBrace + _jsonSchema.GetJsonString(_values) + JsonObject.CloseBrace); } catch (UserErrorException e) { throw new UserErrorException(e.Message + $"\nInput line: {_inputLine}"); } }
public string GetJsonString() { try { return(_jsonSchema.GetJsonString(_values)); } catch (UserErrorException e) { throw new UserErrorException(e.Message + $"\nInput line: {_inputLine}"); } }
public string GetJsonString() { var allValues = new List <string[]> { new [] { BaseFormatting.EmptyToDash(RefAllele) }, new [] { BaseFormatting.EmptyToDash(AltAllele) } }; allValues.AddRange(_values); try { return(_jsonSchema.GetJsonString(allValues)); } catch (UserErrorException e) { throw new UserErrorException(e.Message + $"\nInput line: {_inputLine}"); } }