Commit 6def797
committed
reader: check type of properties in jgf
Problem: the JGF reader requires each vertex's 'properties' field
to be either null or a JSON object, but doesn't ever check the type.
This leads to silent failures when the type read in is wrong.
Add a check for the type of the properties field if it is not null.1 parent 68c636a commit 6def797
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
404 | 411 | | |
405 | 412 | | |
406 | 413 | | |
| |||
0 commit comments