---
title: "Muhammad Redho Ayassa (@redhoyasa) | Hashnode"
description: "Software engineer with 6+ years of experience. Have been spending 5+ years in the fintech &amp; payment products domain. Specialized in backend and have deli..."
url: "https://hashnode.com/@redhoyasa"
---

@redhoyasa

# Muhammad Redho Ayassa

@redhoyasa · Jakarta, Indonesia · Joined November 2022

### [On JSON.stringify()](https://redhoyasa.hashnode.dev/on-jsonstringify?utm_source=hashnode&utm_medium=feed)

Background When working with a Node.js service, I intended to send a request to another service with JSON: { "name": "Instant noddle", "category": null } However, I didn't manage to send the category field and this is what I sent instead: { ...

1 min read · [redhoyasa.hashnode.dev](https://redhoyasa.hashnode.dev/on-jsonstringify?utm_source=hashnode&utm_medium=feed)

[Sep 18, 2023](https://hashnode.com/posts/on-jsonstringify/65087a8133c945540e04e482)

### [Triggering form submission outside the <form>](https://redhoyasa.hashnode.dev/triggering-form-submission-outside-the-form?utm_source=hashnode&utm_medium=feed)

Context Suppose I want to build a checkout page like below: The first box (above) contains the guest form The second box (below) is a bottom sheet containing the hotel rate and the form submission button To make the bottom sheet sticky at the bo...

1 min read · [redhoyasa.hashnode.dev](https://redhoyasa.hashnode.dev/triggering-form-submission-outside-the-form?utm_source=hashnode&utm_medium=feed)

[Sep 18, 2023](https://hashnode.com/posts/triggering-form-submission-outside-the-form/650875aa789704d203bd9971)

### [Logging inside Java Stream](https://redhoyasa.hashnode.dev/logging-inside-java-stream?utm_source=hashnode&utm_medium=feed)

Background Once upon a time, I wanted to log something that was executed inside the Java stream for debugging purposes. But, I didn't see anything logged there. Solution Put the log inside the peek() method instead of map(). Example Previously, I was...

1 min read · [redhoyasa.hashnode.dev](https://redhoyasa.hashnode.dev/logging-inside-java-stream?utm_source=hashnode&utm_medium=feed)

[Jul 11, 2023](https://hashnode.com/posts/logging-inside-java-stream/64ade341e7ef3197a6563d1b)

### [Updating database field to NULL in GORM using struct](https://redhoyasa.hashnode.dev/updating-database-field-to-null-in-gorm-using-struct?utm_source=hashnode&utm_medium=feed)

Background When I was using GORM as the ORM in Go, I discovered that we cannot update a field into NULL with struct, even though we use a pointer as the type. For example, if we set nil to the Name and execute the Updates method in GORM, the name fie...

1 min read · [redhoyasa.hashnode.dev](https://redhoyasa.hashnode.dev/updating-database-field-to-null-in-gorm-using-struct?utm_source=hashnode&utm_medium=feed)

[Jan 10, 2023](https://hashnode.com/posts/updating-database-field-to-null-in-gorm-using-struct/63bd22e3c0b43340548b39ce)

### [Working with Postgres JSONB in Go](https://redhoyasa.hashnode.dev/working-with-postgres-jsonb-in-go?utm_source=hashnode&utm_medium=feed)

Background Suppose I want to store and read a JSONB/JSON column from Postgres, how do I do it? Solution Make the data type implements these functions: Scan(src any) error -> Move data from DB to Go struct Value() -> Return the JSON encoding that sto...

1 min read · [redhoyasa.hashnode.dev](https://redhoyasa.hashnode.dev/working-with-postgres-jsonb-in-go?utm_source=hashnode&utm_medium=feed)

[Dec 14, 2022](https://hashnode.com/posts/working-with-postgres-jsonb-in-go/6399fa5b7fa8d9dc570d6bde)
