11 lines
270 B
Python
11 lines
270 B
Python
|
from __future__ import annotations
|
||
|
from json import loads as jsonloads
|
||
|
|
||
|
from habitmove.parser import Parser
|
||
|
|
||
|
|
||
|
class NomieParser(Parser):
|
||
|
def __init__(self, data="{}") -> None:
|
||
|
"""Load a data set and prepare parser data"""
|
||
|
self.data = jsonloads(data)
|