Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
fbuedding committed Aug 2, 2024
1 parent 3a22c12 commit 967e54d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iota-types.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,10 @@ func (d *Device) MarshalJSON() ([]byte, error) {
func (sa *StaticAttribute) MarshalJSON() ([]byte, error) {
type Alias StaticAttribute
switch v := sa.Value.(type) {
// Logic for checken if it is indead a string
// Logic for checking if it is indead a string
// first we check if its valid json
// then we check if its a number
// then we check if its a bool
// then we just assume its a string
case string:
valid := json.Valid([]byte(v))
Expand Down

0 comments on commit 967e54d

Please sign in to comment.