Skip to content

Instantly share code, notes, and snippets.

@keaty
Last active February 14, 2016 22:53
Show Gist options
  • Select an option

  • Save keaty/27bcde0ffabbc494c431 to your computer and use it in GitHub Desktop.

Select an option

Save keaty/27bcde0ffabbc494c431 to your computer and use it in GitHub Desktop.

Revisions

  1. keaty revised this gist Feb 14, 2016. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion malformed_JSON_sol
    Original file line number Diff line number Diff line change
    @@ -1 +1,5 @@
    format!(",{}", data)
    let string_data = if i == 0 {
    format!("{}", data)
    } else {
    format!(",{}", data)
    };
  2. keaty created this gist Feb 14, 2016.
    1 change: 1 addition & 0 deletions malformed_JSON_sol
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    format!(",{}", data)